Home Download Buy Blog Forum Support

SublimeClang Error Spam

SublimeClang Error Spam

Postby Denkfaehigkeit on Sat Apr 27, 2013 9:46 pm

Hello,

Recently, I've been trying to use SublimeClang for Sublime Text 2 for C++ and so far it's been great. However, when I start importing different system headers and such I get a massive spam of errors from files that aren't my own. Here's a snippet of some of the errors:

Code: Select all
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\exception:407,14 - Error - no type named 'nullptr_t' in namespace 'std'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:550,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:574,1 - Error - function cannot return function type 'int (const char *)'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:574,1 - Error - expected parameter declarator
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:574,1 - Error - expected ')'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:682,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:738,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:749,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:773,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:774,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h:775,1 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1446,18 - Error - non-friend class member 'nullptr_t' cannot have a qualified name
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1448,20 - Error - expected '}'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1449,4 - Error - expected ';' after class
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1452,3 - Error - variable 'shared_ptr' declared as a template
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1452,19 - Error - no member named 'nullptr_t' in namespace 'std'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1452,38 - Error - expected ';' at end of declaration
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1453,3 - Error - expected unqualified-id
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory:1459,3 - Error - variable 'shared_ptr' declared as a template


As you can see, they aren't from my files and when I try to compile the files it works just fine.
Some extra information that might be helpful:
I'm using C++11, I'm linking to GLEW and GLFW libraries (OpenGL), and when I create a new file the errors pop up after I include some system headers. If the file doesn't include any system headers, it works just fine.

~ Thank you for any response!
Denkfaehigkeit
 
Posts: 1
Joined: Sat Apr 27, 2013 9:40 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 30 guests