[Bug c++/52806] "zero as null pointer constant" in C++98 mode

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 16 10:33:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52806

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-16 10:33:38 UTC ---
(In reply to comment #4)
> Unfortunately the user *will* have warnings if she passes the
> warning flag but not -std=c++11.

So don't use that warning flag. It's not included in -Wall for good reason.



More information about the Gcc-bugs mailing list