Home Download Buy Blog Forum Support

Sublime Clang on Windows

Sublime Clang on Windows

Postby kantaki on Fri Jan 04, 2013 8:36 pm

I am using SublimeClang on Windows 8 with mingw 4.7.2.

my options look like this:

Code: Select all
"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"
    ],


But when I save my .cpp file I'll get the follwing errors

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'


Any ideas what went wrong?
kantaki
 
Posts: 2
Joined: Fri Jan 04, 2013 8:30 pm

Re: Sublime Clang on Windows

Postby kantaki on Fri Jan 04, 2013 10:42 pm

kantaki
 
Posts: 2
Joined: Fri Jan 04, 2013 8:30 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 20 guests