From: Ruben Van Boxem <vanboxem.ruben@gm...> - 2011-07-05 15:39:25
I recently submitted a patch to LLVM/Clang so that it's system float.h
header now #include_next's mingw's header. I have already notified
mingw-w64 of this change, and they are going to incorporate it as
Specifically line 29 will need to be changed from this:
#if !defined(_FLOAT_H___) && !defined(__FLOAT_H)
because Clang's float.h defines the latter.
Note I haven't tested mingw.org with CLang, only mingw-w64. There
might be include paths missing (mostly specific versions for the
libstdc++ headers). Your mileage may vary, but float.h needs the above
change to function correctly (otherwise Windows stuff like _clearfp
won't be usable).