http://llvm.org/bugs/show_bug.cgi?id=15797
Bug ID: 15797
Summary: Better warning when using c++11 enum classes without
-std=c++11
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
This error message:
athyra:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -g -c foo.cpp -o
clang.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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs