Activating C++11 support in Clang

前端 未结 1 1301
故里飘歌
故里飘歌 2020-12-17 17:19

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 -

相关标签:
1条回答
  • 2020-12-17 17:52

    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.

    0 讨论(0)
提交回复
热议问题