I\'ve downloaded and built clang version 3.0 in order to play around a bit with C++11 features, however I get this error (even though I am using the -
-
You are getting a warning, not an error.
The -W switch is used to enable compiler warnings. So for my understanding, by using -Wc++11-extensions you tell the compiler to warn you if you are using C++11 extensions.
And thats exactly what happens here.