[Bug c++/80247] 'nullptr' was not declared in this scope

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 29 07:28:00 GMT 2017


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-03-29
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Provide a testcase.  It works for me.  Testcase:

void *p = nullptr;

> g++-4.8 t.C -S -std=c++11

Note that GCC 4.8 is no longer maintained, please use at least GCC 5.4.


More information about the Gcc-bugs mailing list