On Thu, Aug 8, 2013 at 10:13 PM, Nico Rieck <[email protected]> wrote:
> clang's new clang-cl.exe driver apears to NOT define _MSC_VER by default >> either. If any clang variant or g++ does define _MSC_VER (I don't mean >> MS's >> cl.exe which I know does) >> > > Sounds like a bug. > I agree. I've always built clang with MSVC, so I didn't realize that the defaults for -fms-compatibility etc were affected by clang's host compiler. I tried to build clang with mingw and cmake last week, but it didn't work out of the box. In particular, the code in lib/Support/Windows/*.inc failed to compile because it tries to access some POSIX-y functions with leading underscores, which mingw doesn't provide. Is this a known configuration problem with a solution?
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
