Remove -Wpedantic for gcc
All checks were successful
Tests / Release [gcc] total: 704, passed: 704
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / Release [gcc,aarch64] total: 703, passed: 703
Tests / Coverage total: 702, passed: 702
weaselab/conflict-set/pipeline/head This commit looks good

This commit is contained in:
2024-03-07 17:53:23 -08:00
parent 2689901637
commit 81263f5abf

View File

@@ -92,14 +92,11 @@ if(NOT APPLE AND CMAKE_OBJCOPY)
$<TARGET_FILE:${PROJECT_NAME}_static>) $<TARGET_FILE:${PROJECT_NAME}_static>)
endif() endif()
set(TEST_FLAGS -Wall -Wextra -Wpedantic -Wunreachable-code -UNDEBUG) set(TEST_FLAGS -Wall -Wextra -Wunreachable-code -UNDEBUG)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
list(APPEND TEST_FLAGS -Wno-gnu-anonymous-struct -Wno-nested-anon-types) list(APPEND TEST_FLAGS -Wpedantic -Wno-gnu-anonymous-struct
endif() -Wno-nested-anon-types)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
list(APPEND TEST_FLAGS -fms-extensions)
endif() endif()
include(CTest) include(CTest)