[LLVMdev] Build failure due to -pedantic?
Jim Laskey
jlaskey at apple.com
Fri Nov 3 04:48:56 PST 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HUGE_VAL.patch
Type: application/octet-stream
Size: 5451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061103/49a3055b/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061103/49a3055b/attachment.bin>
More information about the llvm-dev
mailing list