The build is failing with;
LiveIntervalAnalysis.cpp:218: error: floating constant exceeds range of 'double'
LiveIntervalAnalysis.cpp:253: error: floating constant exceeds range of 'double'
LiveIntervalAnalysis.cpp:328: error: floating constant exceeds range of 'double'
LiveIntervalAnalysis.cpp:1350: error: floating constant exceeds range of 'double'
If I disable -pedantic the build succeeds.
NOTE: HUGE_VALF should be used instead of (float)HUGE_VAL. Proposed patch enclosed.
HUGE_VAL.patch (5.32 KB)
Chris said something about Xcode fixing this ? It doesn't happen with
the GCC 3.4.6 compiler on Linux so that's why I missed it, but I thought
Chris had fixed it.
Reid.
“Looks to me like the key difference is that we’re now using __builtin_huge_val() rather than 1e500 for HUGE_VAL, which means math.h has changed.”
It’s a per developer issue - Chris and I need to upgrade.
Cheers,
– Jim
Reid checked in an autoconf check for this, and I made the makefile check it. LLVM should not build on xcode < 2.4. Please let me know if it doesn't.
Thanks,
-Chris