build: Add -Wtrailing-whitespace=any compiler flag

This commit is contained in:
Hennadii Stepanov
2026-01-29 12:40:41 +00:00
parent 13e3bee504
commit fb229e7602
3 changed files with 7 additions and 0 deletions

View File

@@ -224,6 +224,7 @@ else()
try_append_c_flags(-Wreserved-identifier) # Clang >= 13.0 only.
try_append_c_flags(-Wshadow)
try_append_c_flags(-Wstrict-prototypes)
try_append_c_flags(-Wtrailing-whitespace=any) # GCC >= 15.0
try_append_c_flags(-Wundef)
endif()