[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 19:52:00 GMT 2020


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #30 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The testcase warns in C++98 mode (and is ill-formed in other modes) and the
macros are gone now anyway. While I'm curious why the preprocessed code in
comment 28 doesn't warn, I think we can call this fixed now.


More information about the Gcc-bugs mailing list