https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80247
--- Comment #8 from Sumit <sbansal at ciena dot com> --- (In reply to Markus Trippelsdorf from comment #7) > (In reply to Sumit from comment #6) > > Actually, once I have -std=c++11 included in CPPFLAGS, I am able to get rid > > of nullptr problem. > > > > But still in the same compilation environment, one another file is > > complaining about nullptr not found. > > > > I have ensured that both the files compiles with -std=c++11. > > > > What can I check? > > If there are several -std= in the command line, the last one wins. > But really this is not the right place to discuss these issues. > Try the gcc-help mailing list. Thanks Markus for the pointer. I closely checked that besides -std=c++11, -nostdinc was also being passed which was causing this problem. Thanks. Sumit