Skip to content

Commit fe7baa2

Browse files
committed
cmake: remove the -Wno-gnu-anon-structs warning
1 parent 3347a18 commit fe7baa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mesytec-mvlc/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ endif()
101101
set(MVLC_SPDLOG_ACTIVE_LEVEL "SPDLOG_LEVEL_WARN" CACHE STRING "Compile time spdlog level for the library")
102102

103103
target_compile_definitions(mesytec-mvlc PRIVATE SPDLOG_ACTIVE_LEVEL=${MVLC_SPDLOG_ACTIVE_LEVEL})
104-
target_compile_options(mesytec-mvlc PRIVATE -Wall -Wextra -Wimplicit-fallthrough PUBLIC -Wno-gnu-anonymous-struct)
104+
target_compile_options(mesytec-mvlc PRIVATE -Wall -Wextra -Wimplicit-fallthrough)
105105
#target_compile_options(mesytec-mvlc PUBLIC -Wno-dangling-reference) # to silence spdlog warnings with some gcc-14
106106
target_compile_features(mesytec-mvlc PUBLIC cxx_std_17)
107107

0 commit comments

Comments
 (0)