[Bug c++/60304] Including <stdbool.h> disables -Wconversion-null in C++ 98 mode

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 2 15:32:29 GMT 2020


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

--- Comment #26 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #22)
> My point is that the fix cannot be only limited to tweaking stdbool.h, as
> long as any C++ mode still defines false as a macro.

As I said in comment 18, C++ programs can't do that. Ever.

I'm going to try again to remove those macros from <stdbool.h> for C++ ...


More information about the Gcc-bugs mailing list