Is there a command line option I can pass to VS2012 or VS2013 cl.exe to specify if I want to use C++11 or C++98 syntax? Like GCC's -std=c++11 option.
-
4Not to my knowledge. VS always recognizes C++11 syntax; well, the parts it supports, at least.– Igor TandetnikOct 15, 2013 at 3:37
-
Thanks for the confirmation.– xyzOct 15, 2013 at 4:00
-
@IgorTandetnik you might want to post that as an answer since it seems to be what the user was looking for..– LizzOct 15, 2013 at 4:56
-
possible duplicate of How to enable C++0x features in Visual studio? [Initializer Lists support]– TemplateRexOct 15, 2013 at 10:57
Add a comment
|
1 Answer
Quoting Igor Tandetnik from the comments:
Not to my knowledge. VS always recognizes C++11 syntax; well, the parts it supports, at least.
Posted answer as community wiki so that this question no longer remains unanswered.