I am using SublimeClang on Windows 8 with mingw 4.7.2.
my options look like this:
[code]“options”:
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1",
"-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/",
"-isystem", "D:\\MinGW\\lib\\gcc\\mingw32\\4.7.2\\include",
"-isystem", "D:\\MinGW\\lib\\gcc\\mingw32\\4.7.2\\include\\c++",
"-isystem", "D:\\MinGW\\lib\\gcc\\mingw32\\4.7.2\\include\\c++\\mingw32",
"-isystem", "D:\\MinGW\\include",
"-isystem", "/usr/include",
"-isystem", "/usr/include/c++/*",
"-Wall"
],[/code]
But when I save my .cpp file I’ll get the follwing errors
[quote]D:/MinGW/include\wctype.h:99,33 - Error - definition of variable with array type needs an explicit size or an initializer
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:145,11 - Error - no member named ‘fgetws’ in the global namespace
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:147,11 - Error - no member named ‘fputws’ in the global namespace
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:151,11 - Error - no member named ‘getwc’ in the global namespace
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:152,11 - Error - no member named ‘getwchar’ in the global namespace
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:157,11 - Error - no member named ‘putwc’ in the global namespace
D:/MinGW/lib/gcc/mingw32/4.7.2/include/c++\cwchar:158,11 - Error - no member named ‘putwchar’ in the global namespace
D:/MinGW/include\ctype.h:112,33 - Error - redefinition of ‘_ctype’
D:/MinGW/include\ctype.h:112,33 - Error - definition of variable with array type needs an explicit size or an initializer
D:/MinGW/include\ctype.h:117,34 - Error - redefinition of ‘_pctype_dll’[/quote]
Any ideas what went wrong?