diff options
author | Brad King <brad.king@kitware.com> | 2020-01-13 16:42:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-13 16:45:23 (GMT) |
commit | b7b8331d686d87769c7aac60bb41585eb4fb54c2 (patch) | |
tree | 488b834650032c771fe13306869498a59f750490 /Help/release | |
parent | 3795dea6f1d4ca9bc1a2131173ed190f6c362fbe (diff) | |
download | CMake-b7b8331d686d87769c7aac60bb41585eb4fb54c2.zip CMake-b7b8331d686d87769c7aac60bb41585eb4fb54c2.tar.gz CMake-b7b8331d686d87769c7aac60bb41585eb4fb54c2.tar.bz2 |
Xcode: Drop hard-coded default warning flags like -Wmost
The `-Wmost` flag was added by commit 97a51d2172 (ENH: add more xcode
stuff, 2005-01-27, v2.4.0~2396), along with a couple others, as part of
very early work on the Xcode generator. I suspect that the flags were
part of Xcode's project creation wizard. However, they are not
appropriate for CMake-based projects because we already have our own
mechanisms for specifying flags desired by the project or user.
Simply drop the flags.
Fixes: #13516
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/xcode-default-warnings.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/xcode-default-warnings.rst b/Help/release/dev/xcode-default-warnings.rst new file mode 100644 index 0000000..a9a2e49 --- /dev/null +++ b/Help/release/dev/xcode-default-warnings.rst @@ -0,0 +1,5 @@ +xcode-default-warnings +---------------------- + +* The :generator:`Xcode` generator no longer hard-codes ``-Wmost``, + ``-Wno-four-char-constants``, and ``-Wno-unknown-pragmas`` warning flags. |