mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-28 06:02:52 +08:00
cmake: add -Wstrict-prototypes
Suggested-by: fenugrec <fenugrec@users.sourceforge.net> Link: https://github.com/candle-usb/candleLight_fw/issues/103 Signed-off-by: Marc Kleine-Budde <mkl@blackshift.org>
This commit is contained in:
parent
c7547b0dcd
commit
c19f3a17e1
@ -6,6 +6,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
add_compile_options(
|
||||
-std=gnu11 -mthumb
|
||||
-Wall -Wextra -Werror
|
||||
-Wstrict-prototypes
|
||||
-fmessage-length=0
|
||||
-fsigned-char
|
||||
-ffunction-sections -fdata-sections
|
||||
|
Loading…
x
Reference in New Issue
Block a user