We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a4c50f commit 1e8978cCopy full SHA for 1e8978c
1 file changed
CMakeLists.txt
@@ -256,6 +256,10 @@ if(CMAKE_BUILD_TYPE STREQUAL "Dev")
256
# add_definitions(${OSMIUM_WARNING_OPTIONS} ${OSMIUM_DRACONIC_CLANG_OPTIONS} -Wno-documentation -Wno-format-nonliteral -Wno-deprecated -Wno-covered-switch-default -Wno-shadow)
257
endif()
258
259
+if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
260
+ add_definitions(-Wno-stringop-overread -Wno-dangling-reference)
261
+endif()
262
+
263
# Force RelWithDebInfo build type if none was given
264
if(CMAKE_BUILD_TYPE)
265
set(build_type ${CMAKE_BUILD_TYPE})
0 commit comments