Patch: stdbool.h should be compatible with C++
Jeffrey A Law
law@cygnus.com
Tue Jan 4 01:48:00 GMT 2000
In message <199912052055.VAA18852@loewis.home.cs.tu-berlin.de>you write:
> > The following program:
> >
> > ----------------------------
> > #include <stdbool.h>
> > bool foo;
> > ----------------------------
> >
> > could, with a little care, compile under C and C++.
>
> Thanks for the proposal. Here is a patch for the mainline compiler.
>
> 1999-12-05 Martin v. Löwis <loewis@informatik.hu-berlin.de>
>
> * ginclude/stdbool.h: Support compilation as C++.
This is fine. Please install this change.
Thanks,
jeff
More information about the Gcc-bugs
mailing list