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 a2d5ef9 commit 05314acCopy full SHA for 05314ac
CMakeLists.txt
@@ -315,10 +315,8 @@ else()
315
list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Wall -Wextra)
316
if(MINIFI_FAIL_ON_WARNINGS)
317
list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Werror)
318
- # -Wrestrict may cause build failure in GCC 12 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336
319
endif()
320
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
321
- list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Wno-error=restrict)
322
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15)
323
list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Wno-maybe-uninitialized)
324
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118634
0 commit comments