https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65902

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #5)
> Well, I thought maybe it would not hurt to be more permissive...
> 
> At least math.h and stdlib.h include <cyg/infra/cyg_type.h>
> which contains something like this:
> 
> #ifndef __cplusplus
> 
> typedef cyg_halbool bool;
> 
> # ifndef false
> #  define false 0
> # endif
> 
> # ifndef true
> #  define true (!false)
> # endif
> 
> #endif

Neither of those headers should be doing that...

I think you'll find more packages than just GCC are going to fail to build if
they do.

Reply via email to