[quote=“adn”]Under Windows to autocomplete filenames in my ‘include’ directories (like stdio.h) I’ve added these lines to my ‘SublimeClang.sublime-settings’ file (in “options” section) as below:
“options”:
....
.
.
.
//include path for minGW
,"-IC:\\Program Files\\MinGW\\include"
,"-IC:\\Program Files\\MinGW\\lib\\gcc\\mingw32\\4.6.1\\include"
],
Nice coding!
(I’ve typed commas first to know which line is added to the file and to remove just the lines if needed)
P.S. Your ‘SublimeClang.sublime-settings’ file is in ‘%Appdata%\Sublime Text 2\Packages\SublimeClang’ folder.[/quote]
This works for me very well but I get a lot of errors from mingw files like this:
img651.imageshack.us/img651/3976 … 181953.png
Any solution to fix/disable this ?
Temporarily i set show_output_panel to false to disable this annoying errors.
My options:
"options":
"-Wall",
"-Wextra",
"-ferror-limit=0",
"-IE:/Dev/Tools/MinGW64/include",
"-IE:/Dev/Tools/MinGW64/lib/gcc/x86_64-w64-mingw32/4.6.1/include",
"-IE:/Dev/Libs/gmock-1.6.0/include",
"-IE:/Dev/Libs/gmock-1.6.0/gtest/include",
"-IE:/Dev/Libs/glfw-2.7.2/include",
// projects paths here
]