12

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.

4

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.