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 3882892 commit 8af4342Copy full SHA for 8af4342
CMakeLists.txt
@@ -149,7 +149,7 @@ endif()
149
150
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_BUILD_TYPE STREQUAL "Debug")
151
# Treat warnings as errors with some exceptions
152
- set(GCC_FLAGS "-Wall -Werror -Wno-deprecated-declarations")
+ set(GCC_FLAGS "-Wall -Werror -Wno-deprecated-declarations -Werror=pointer-arith")
153
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_FLAGS} -Wno-class-memaccess -Wno-array-compare -Wno-unused-result -Wno-maybe-uninitialized")
154
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_FLAGS} -Wno-discarded-qualifiers")
155
# The following showed up in GCC 14, which I am using via msys2 on Windows.
0 commit comments