This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]