[llvm-commits] [llvm] r133718 - in /llvm/trunk/lib/Analysis: ConstantFolding.cpp FEnv.h

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jun 23 08:27:28 PDT 2011


On 11-06-23 10:54 AM, Justin Holewinski wrote:
>
> On Jun 23, 2011, at 10:19 AM, Rafael Espindola wrote:
>
>> Author: rafael
>> Date: Thu Jun 23 09:19:39 2011
>> New Revision: 133718
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=133718&view=rev
>> <http://llvm.org/viewvc/llvm-project?rev=133718&view=rev>
>> Log:
>> Revert "revert 133714"
>>
>> This reverts commit e8e00f5efb4a22238f2407bf813de4606f30c5aa.
>>
>> The cmake build on OS X is still broken.
>
> What's wrong with the CMake build? This commit fixes the build for me
> with 10.7 + Xcode 4.2 + CMake 2.8.4. I build LLVM and Clang together.

The error was:

In file included from 
/Users/espindola/llvm/llvm/lib/Analysis/ConstantFolding.cpp:37:
/Users/espindola/llvm/llvm/lib/Analysis/FEnv.h:36:17: error: use of 
undeclared identifier 'FE_ALL_EXCEPT'
   feclearexcept(FE_ALL_EXCEPT);
                 ^
/Users/espindola/llvm/llvm/lib/Analysis/FEnv.h:47:20: error: use of 
undeclared identifier 'FE_ALL_EXCEPT'
   if (fetestexcept(FE_ALL_EXCEPT & ~FE_INEXACT))
                    ^
/Users/espindola/llvm/llvm/lib/Analysis/FEnv.h:47:37: error: use of 
undeclared identifier 'FE_INEXACT'
   if (fetestexcept(FE_ALL_EXCEPT & ~FE_INEXACT))
                                     ^

10.6, xcode 4.0.

>
> Thanks,
>
> Justin Holewinski
>

Cheers,
Rafael



More information about the llvm-commits mailing list