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:
parent
dfe50c5952
commit
2afbfc451c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user