[LLVMbugs] [Bug 2209] New: Compile error due to existing definition of FLT_ROUNDS
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 7 23:41:35 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: andrew at ishiboo.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list