News for hackers. Stuff that matters.
Re:Using Clang on Windows by bla2 on Thursday August 03, 2017 @06:37PM (#14924601)
Looks like this is using clang++ instead of clang-cl, which sets almost all of these flags automatically.
Re:Using Clang on Windows by martell on Thursday August 03, 2017 @07:34PM (#14925009)
Exactly, In fact clang, clang++ and clang-cl are all the same program. The frontend just behaves differently based on the file name.

Disclaimer: I am a LLVM Engineer working on a mingw-w64 standalone clang :)

Re:Using Clang on Windows by jessermeyer on Thursday August 03, 2017 @08:36PM (#14925388)
Why is Clang so much slower than cl at compiling? On OS X / unix Clang seems so much faster.
Re:Using Clang on Windows by martell on Thursday August 03, 2017 @09:23PM (#14925615)
By cl do you mean MSVC cl or are you asking about clang vs clang-cl ?
Re:Using Clang on Windows by jessermeyer on Thursday August 03, 2017 @09:58PM (#14925768)
MSVC cl compiles much faster than clang / clang-cl.
Re:Using Clang on Windows by dxf on Thursday August 03, 2017 @11:58PM (#14926217)
Yes, this is something that is being worked on.
Re:Using Clang on Windows by jessermeyer on Friday August 04, 2017 @06:50PM (#14933014)
Can you point to an official discussion / svn commit chain that demonstrates this?
Re:Using Clang on Windows by Leandros on Friday August 04, 2017 @02:17AM (#14926713)
Unfortunately, clang-cl only supports a very limited subset of CL's flags. And if you want to talk to clang directly you have to go through an extra layer of indirection by using -Xclang -flag. By using clang directly you get the whole power of clang without arbitrary limitations (and as a bonus you can now compiler your software on mac and linux).
Re:Using Clang on Windows by bla2 on Tuesday August 08, 2017 @08:49AM (#14957235)
What's missing?