c++ - How to introduce nullptr to CDT code analyzer? -


i'm getting bothering code analyzer error in eclipse cdt. not work fine c++11 features. __gxx_experimental_cxx0x__ defined , compiler flags set. library compiles , works fine, though can't find way tell eclipse nullptr keyword! please don't highlight it.

stupid eclipse :)

i'm using default version of current lts ubuntu (12.04). it's indigo (3.7.2).

windows -> preferences -> c/c++ -> settings -> cdt gcc built-in compiler settings

you can specify standard there:

gcc -std=c++11 ${flags} -e -p -v -dd "${inputs}"

it works fine me, i'm using mars however.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -