[LLVMdev] Build failure due to -pedantic?

Chris Lattner sabre at nondot.org
Fri Nov 3 11:59:15 PST 2006


On Fri, 3 Nov 2006, 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.

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

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list