This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52806] bogus "zero as null pointer constant" warning
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2012 12:56:28 +0000
- Subject: [Bug c++/52806] bogus "zero as null pointer constant" warning
- Auto-submitted: auto-generated
- References: <bug-52806-4@http.gcc.gnu.org/bugzilla/>
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?