stdbool.h

Alexandre Oliva aoliva@redhat.com
Sat Feb 2 19:04:00 GMT 2002


On Feb  2, 2002, matthew green <mrg@redhat.com> wrote:

> stdbool.h breaks building cgen-based simulators.  see:

> 	include/opcode/cgen.h:  unsigned int bool;
> 	include/opcode/cgen.h:struct { unsigned int bool; \
> 	include/opcode/cgen.h:#define CGEN_ATTR_BOOLS(a) ((a)->bool)

In this particular case, I think it is cgen that should be fixed.
bool is Standard C++ and C99 (the latter, only if stdbool.h is
included, but still...)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Binutils mailing list