[cmake-developers] compute-default-dialect topic

Stephen Kelly steveire at gmail.com
Wed Sep 16 14:22:03 EDT 2015


Brad King wrote:

> The default dialect computed with the compiler id may not be the
> same as the effective default dialect when CMAKE_CXX_FLAGS is
> considered.  One may build with -std=c++11, for example, thus
> making the dialect used for compilation different than the raw
> compiler default even when CMake does not add a -std= flag.

Thanks for that info!

I pushed another fixup which may disable the test in that case, and may also 
disable it with GNU 6 and other compilers with default standard >= 11.

Thanks,

Steve.




More information about the cmake-developers mailing list