mitaki28 / vscode-clang

Completion and Diagnostic for C/C++/Objective-C using Clang
MIT License
128 stars 24 forks source link

clang diagnose doubt #33

Closed shlwang closed 8 years ago

shlwang commented 8 years ago

vscode-clang is installed for my vscode. The diagnostic feature did work perfectly. Currently i found it works for my new added file, but won't work for the files already in my project. There is no output when editing cpp with error syntax deliberately in existed files . The vscode is 1.5.3 (1.5.3). Any ideas on this?

shlwang commented 8 years ago

the issue is solved. it is caused by the option -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1.

the include path doesn't exist. i guess it is modified by mac os.