diff options
author | Brad King <brad.king@kitware.com> | 2020-04-06 09:49:33 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-06 09:54:10 -0400 |
commit | 182a104478779922910207d544c441ebf357c543 (patch) | |
tree | faea946ad78494c2fef73e4b6fc235c21cff2f98 /Help | |
parent | ebea30a1edced8d74c42b35c129a3f32d553115c (diff) | |
download | cmake-182a104478779922910207d544c441ebf357c543.tar.gz |
Help: Add 3.15 release note for change in -std= flag for compile features
Issue: #19917
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/3.15.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/release/3.15.rst b/Help/release/3.15.rst index 957e6e958e..e68e7d38b4 100644 --- a/Help/release/3.15.rst +++ b/Help/release/3.15.rst @@ -332,6 +332,15 @@ Deprecated and Removed Features Other Changes ============= +* If a feature specified by :command:`target_compile_features` is available + in the compiler's default standard level, CMake 3.14 and below incorrectly + added unnecessary ``-std=`` flags that could lower the standard level. + This bug has been fixed in CMake 3.15. This behavior change may expose + bugs in existing projects that were relying on undocumented implementation + details. Specifying compile features only ensures that the compiler runs + in a mode that has those features, not that any specific standard level is + used or explicit ``-std=`` flag passed. + * CMake learned how to compile C++14 with the IBM AIX XL compiler and the SunPro compiler and to compile C++20 with the AppleClang compiler. |