Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
This commit is contained in:
parent
69a7ada911
commit
9dc32d55e2
30 changed files with 63 additions and 61 deletions
4
Makefile
4
Makefile
|
@ -943,6 +943,10 @@ else
|
|||
endif
|
||||
|
||||
BASE_CFLAGS += -DPRODUCT_VERSION=\\\"$(VERSION)\\\"
|
||||
BASE_CFLAGS += -Wformat=2 -Wno-format-zero-length -Wformat-security -Wno-format-nonliteral
|
||||
BASE_CFLAGS += -Wstrict-aliasing=2 -Wmissing-format-attribute
|
||||
BASE_CFLAGS += -Wdisabled-optimization
|
||||
BASE_CFLAGS += -Werror-implicit-function-declaration
|
||||
|
||||
ifeq ($(V),1)
|
||||
echo_cmd=@:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue