Anyone gotten Clank to work on Windows?
I am simply trying to compile some code with Clang, but I get problems from the standard library which I borrowed from GCC 4.8.
I use the command line:
clang++ "Square Packing.cpp" -I"C:\Program Files\Gecode\include" -I"C:\Program Files\MinGW\lib\gcc\x86_64-w64-mingw32\4.8.0\include\c++" -I"C:\Program Files\MinGW\lib\gcc\x86_64-w64-mingw32\4.8.0\include\c++\x86_64-w64-mingw32" -I"C:\Program Files\MinGW\x86_64-w64-mingw32\include" -v -std=c++11 -fno-ms-compatibility
(Clang was built using Visual C++; I have been unable to build it with Mingw.)
It spits out tons of errors from the standard headers (full log is attached).
I don't even know if I'm doing this wrong. What friggin' library am I supposed to use, where do I get it and do I set up Clang to work with it?
It's frustrating that actual instructions on this part seems to be missing!
If anyone has gotten it working, I'd appreciate some pointers.