[Bug c++/52806] bogus "zero as null pointer constant" warning

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 31 13:06:00 GMT 2012


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-31 12:56:28 UTC ---
Oh well, changing this would be really trivial, but then people would have to
globally switch-on -std=c++11 (which may not be otherwise appropriate) while
working on removing (as much as possible) explicit zeros from C++98-era code. 

But really I don't have a personal strong opinion, and, as I mentioned already,
a patch would be trivial.

Jason, what shall we do?



More information about the Gcc-bugs mailing list