[LLVMbugs] [Bug 15797] New: Better warning when using c++11 enum classes without -std=c++11

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 19 13:14:49 PDT 2013


            Bug ID: 15797
           Summary: Better warning when using c++11 enum classes without
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: echristo at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This error message:

athyra:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -g -c foo.cpp -o
foo.cpp:1:6: error: expected identifier or '{'
enum struct Colour { grey };

probably should mention turning on C++11.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130419/7afa5702/attachment.html>

More information about the llvm-bugs mailing list