nsight editor does not parse c++11 / shows syntax error


I am using

  • ubuntu 14.04 x86_64
  • CUDA 7.0
  • Nsight Eclipse Edition Version: 7.0

Problem: Nsight does not parse C++11 keywords.


void *foo() {return nullptr;}

shows a syntax error for nullptr and a missing return value. Outline does not show symbols that use c++11 keywords.

If I change the language mapping (Properties->General->Language Mappings) from ‘CUDA C’ to ‘GNU C++’, C++11 keywords are properly parsed. Of course cuda specific keywords and syntax is an error now.

Note: This is not about enabling / compiling C++11 with nvcc, which works perfectly well. My trouble is specifically with the integrated nsight c++ parser.