3
0
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:
Tom Englund
2025-07-07 16:18:06 +02:00
committed by GitHub
parent d23ed852fc
commit 54369adffa
6 changed files with 33 additions and 32 deletions

View File

@ -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)