summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-06 14:24:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-06 14:24:36 (GMT)
commit3db04c193cb5f9249a0f84d832da5327c4560190 (patch)
treec99812ccd2e54fd175e51fab03a323bd5353f27a /Help/release
parent1a020d9e79f89253d9ff4b0c9cfcf88d7279a01e (diff)
parent182a104478779922910207d544c441ebf357c543 (diff)
downloadCMake-3db04c193cb5f9249a0f84d832da5327c4560190.zip
CMake-3db04c193cb5f9249a0f84d832da5327c4560190.tar.gz
CMake-3db04c193cb5f9249a0f84d832da5327c4560190.tar.bz2
Merge topic 'doc-3.15-std-fix' into release-3.17
182a104478 Help: Add 3.15 release note for change in -std= flag for compile features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4574
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/3.15.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/release/3.15.rst b/Help/release/3.15.rst
index 957e6e9..e68e7d3 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.