[Bug c++/80247] 'nullptr' was not declared in this scope
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 07:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80247
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Sumit from comment #0)
> I am migrating my code from 3.4.5 to 4.8.1 and enabled c++11 using
Why would you choose 4.8.1 and not 4.8.5 ? There are lots of bug fixes in later
4.8.x releases, especially if you're trying to use C++11 (which was not fully
supported by GCC 4.8.x and so labelled experimental, and under heavy
development with lots of fixes in later releases).
> -std=C++11
The correct option is -std=c++11 not -std=C++11
More information about the Gcc-bugs
mailing list