mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-02-04 09:25:33 +00:00
internal: iso C++ prohibits anonymous structs (#10955)
turn on -Wpedantic and name the anonymous struct.
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user