mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 16:58:33 +08:00
feat(test): enable warning to format-security (#6199)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user