Closed robertodr closed 7 years ago
I thought at some point that it was a good idea. But apparently not? Would you prefer this not to be a default flag?
I am not sure. Sadly enough, C++11 compliance still crosses out a lot of proprietary compilers from being usable.
OK - for consistency it would then make sense to take it out, right?
That would be my preferred solution. There can be an extra plugin to adjust the C++ standard version, which would check compiler version and standard library, like here The plugin should only kick in if the CMake version is less than 3.0, however.
I agree - I will remove the flag shortly.
thanks! :+1:
Should the default GNU C++ plugin use the
-std=c++11
flag? https://github.com/coderefinery/autocmake/blob/master/compilers/GNU.CXX.cmake