[LLVMbugs] [Bug 2963] "enumerator value is not an integer constant" error when using macros

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 27 23:22:47 PDT 2008


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from Chris Lattner <clattner at apple.com>  2008-10-28 01:22:47 ---
Your code is valid.  A floating point multiply is not a valid
integer-constant-expression.  The only floating point expression that is, is a
floating point constant that is immediately cast to an integer.


-- 
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