[llvm-commits] Fixincludes patch for mingw32

Anton Korobeynikov asl at math.spbu.ru
Wed May 9 16:27:55 PDT 2007


Hello, Everyone.

Please apply attached patch to both llvm-gcc trunk & 2.0 release.
Mingw32 system headers (complex.h) contains inline FP math, which causes
libstdc++ configure to fail due to infinite cycle in llvm-gcc.

Attached patch workarounds this by providing replacement code and
wrapping "bad" places into __NO_MATH_INLINES define, which is default
for all i386 systems now. Patch just adds one new mingw32-specific
fixincludes rule, which executes long sed expression doing all dirty
work :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: complex-fixincludes.diff
Type: text/x-patch
Size: 6650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070510/721162f2/attachment.bin>


More information about the llvm-commits mailing list