[geos-commits] [SCM] GEOS branch master updated. 72b58feb34343f40a27badb2bbba9e6e1050a62a
git at osgeo.org
git at osgeo.org
Tue Mar 2 15:33:41 PST 2021
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, master has been updated
via 72b58feb34343f40a27badb2bbba9e6e1050a62a (commit)
from 47977bc22bacac44817882da71c5975adee6d397 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 72b58feb34343f40a27badb2bbba9e6e1050a62a
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Mar 2 15:33:33 2021 -0800
Only use no-unknown-warning-option for Clang builds right now. References #1105
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6ec423..cd5cd35 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -240,8 +240,10 @@ target_compile_definitions(geos_developer_cxx_flags
target_compile_options(geos_developer_cxx_flags
INTERFACE
$<$<CXX_COMPILER_ID:MSVC>:-W4>
- $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Werror -Wno-unknown-warning-option -pedantic -Wall -Wextra -Wno-long-long -Wcast-align -Wconversion -Wchar-subscripts -Wdouble-promotion -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wuninitialized -Wunused-parameter -fno-common>
- $<$<CXX_COMPILER_ID:GNU>:-fno-implicit-inline-templates>)
+ $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Werror -pedantic -Wall -Wextra -Wno-long-long -Wcast-align -Wconversion -Wchar-subscripts -Wdouble-promotion -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wuninitialized -Wunused-parameter -fno-common>
+ $<$<CXX_COMPILER_ID:GNU>:-fno-implicit-inline-templates>
+ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wno-unknown-warning-option>
+ )
#-----------------------------------------------------------------------------
# Define a coverage build
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list