[LLVMbugs] [Bug 9997] error: in-class initializer is not a constant expression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 23 17:34:38 PDT 2011


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2011-05-23 19:34:38 CDT ---
Clang is correct to reject this code, because the initializer is not constant
unless it was written within the class definition.

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