internal: iso C++ prohibits anonymous structs (#10955)
turn on -Wpedantic and name the anonymous struct.
This commit is contained in:
parent
d23ed852fc
commit
54369adffa
6 changed files with 33 additions and 32 deletions
|
|
@ -91,6 +91,7 @@ add_compile_options(
|
|||
-Wno-narrowing
|
||||
-Wno-pointer-arith
|
||||
-Wno-clobbered
|
||||
-Wpedantic
|
||||
-fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=)
|
||||
|
||||
set(CMAKE_EXECUTABLE_ENABLE_EXPORTS TRUE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue