[Bug c++/52145] [C++11] [DR 903] zero-valued integer constant expression should prefer conversion to pointer

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 10 13:30:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
DR 903 is a DR against C++11 ([diff.cpp03.conv] identifies it as an
incompatibility with C++03, not with C++11).

Clang also implements DR 903 in C++11 mode.



More information about the Gcc-bugs mailing list