mitaki28 / vscode-clang

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

Inaccurate configuration example #39

Open ydawei opened 7 years ago

ydawei commented 7 years ago

Default configuration:

  // Compiler options for C (e.g. ['-std=c99'])
  "clang.cflags": [],

  // Compiler options for C++ (e.g. ['-std=c++11'])
  "clang.cxxflags": [],

I might be too nitpicking, but it seems that the configuration json file does not accept single-quote string, i.e. the ['-std=c99'] and ['-std=c++11'] should be ["-std=c99"] and ["-std=c++11"] respectively.

davydden commented 6 years ago

@mitaki28 i suppose this issue can be closed?