gcc 3.0's bool type on solaris

David Durham david.durham@wcom.com
Tue Jul 24 14:26:00 GMT 2001


Hi, I've just upgraded from 2.95.3 to 2.95.2 on solaris 2.5.1

versions <=2.95.2 had their bool type as 32 bits on this platform.  3.0
has changed it to a single byte.  Well some libraries we're interfacing
with need it make to 32 bits, now I could change the header files to say
int * instead of bool *, but I'd rather know if there's a way to define
the bool type as 32 bit again.  Hopefully there's a command line option
to do this, but I'm willing to change something in gcc's code and
recompile it if need be.

Thank,
	Davy 



More information about the Gcc-help mailing list