[Bug c++/48420] Missed -Wconversion-null warning when passing const bool to T*

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 28 20:14:00 GMT 2011


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-09-28
     Ever Confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-28 20:03:34 UTC ---
Interestingly, in C++0x mode it works, obviously thanks to the work on
constexpr. Do you really want it for C++98 too? ;)



More information about the Gcc-bugs mailing list