On 1/16/2015 4:56 PM, Peter Dimov wrote:
Edward Diener wrote:
I have never tried using clang with Cygwin...
To clarify, I'm not using clang _with_ Cygwin, that is, I am not using my own compiled clang with an existing Cygwin installation. I am using Cygwin's clang package, as installed by the Cygwin installer.
Cygwin's g++ was for a long time stuck at 3.4.6, which made it not particularly viable for Boost testing, but it's on 4.8.3 now and I find it very useful, because it's a POSIX platform, which is good for test coverage. And it has -std=c++11. And clang. What's not to like? Only the fact that gcc.archive fails for some reason, which breaks all tests that want to statically link to Boost.Test. And that Boost.Test fails with -std=c++11 due to absence of mkstemp and putenv. But apart from that, it's perfect. :-)
I will try running the tests in Boost.Test with both gcc and clang under Windows, to see what the problems with clang are. Maybe I can figure out what is wrong with it.