[LLVMbugs] [Bug 12907] clang++ 3.1 trunk rejects unrestricted unions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 21 17:33:05 PDT 2012


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-05-21 19:33:05 CDT ---
> with the default `clang++ union.cpp -o union' command line

clang++ compiles code in C++98 mode by default. Use -std=c++11 to enable C++11

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