[LLVMdev] Build failure due to -pedantic?

Reid Spencer rspencer at reidspencer.com
Fri Nov 3 08:09:57 PST 2006


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.

On Fri, 2006-11-03 at 08:48 -0400, Jim Laskey wrote:
> 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.
> 
> 
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list