I have written sample Makefile in windows which uses cl option from visual studio 2017. It causes the warnings as follow cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
Follow the below steps to reproduce the issue.
- Open Developer Command Prompt for VS2017
- Write any simple c++ code and compile with using then we can see the warning
cl <filename>.cpp /std=c++11
Does it mean VS2017 by default it will support c++11, so cl option omitting c++11 flag (or) is there something else for throwing warning by cl.exe?
Can anyone please clarify regarding this issue?
Thanks,
Hari