mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
use -Wformat-security
This commit is contained in:
parent
dc08fea378
commit
ac652ac7f3
@ -68,7 +68,8 @@ endif()
|
||||
|
||||
# global compiler flags
|
||||
add_compile_definitions(FORTIFY_SOURCE=2)
|
||||
add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -Wno-nonnull-compare -fexceptions)
|
||||
add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -Wno-nonnull-compare
|
||||
-Wformat-security -fexceptions)
|
||||
|
||||
message(STATUS "Requested multimedia engine: ${USE_MULTIMEDIA}")
|
||||
message(STATUS "Requested build mode: ${CMAKE_BUILD_TYPE}")
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <libavutil/pixdesc.h>
|
||||
#include <libavutil/version.h>
|
||||
#include <libavutil/imgutils.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/rational.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#include <libswscale/version.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user