1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

feat(test): enable warning to format-security (#6199)

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Neo Xu 2024-05-09 13:59:06 +08:00 committed by GitHub
parent dfe50c5952
commit 2afbfc451c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,6 +145,7 @@ if(NOT (CMAKE_C_COMPILER_ID STREQUAL "MSVC"))
list(APPEND COMPILE_OPTIONS list(APPEND COMPILE_OPTIONS
-pedantic-errors -pedantic-errors
-Wall -Wall
-Wformat-security
-Wclobbered -Wclobbered
-Wdeprecated -Wdeprecated
-Wdouble-promotion -Wdouble-promotion