http://llvm.org/bugs/show_bug.cgi?id=2209

           Summary: Compile error due to existing definition of FLT_ROUNDS
           Product: libraries
           Version: 2.2
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transformation Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


llvm[3]: Compiling LowerInvoke.cpp for Release build
In file included from /llvm-2.2/include/llvm/Target/TargetLowering.h:25,
                 from LowerInvoke.cpp:49:
/llvm-2.2/include/llvm/CodeGen/SelectionDAGNodes.h:403: error: expected
identifier before numeric constant
/llvm-2.2/include/llvm/CodeGen/SelectionDAGNodes.h:403: error: expected `}'
before numeric constant

Adding the following after the #include statements fixes the error:

#ifdef FLT_ROUNDS
#undef FLT_ROUNDS
#endif

I'm not sure if that is the best way to resolve this, though.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to