Skip to content
Snippets Groups Projects
Commit cb49bb10 authored by Luca Barbato's avatar Luca Barbato
Browse files

build: Move -Wcast-qual to the extra_warnings

It amounts to about 1/2 of the warnings generated and does not help
spotting anything useful.
parent 0fc61c6a
No related branches found
No related tags found
No related merge requests found
...@@ -4649,13 +4649,13 @@ check_cflags -Wall ...@@ -4649,13 +4649,13 @@ check_cflags -Wall
check_cflags -Wdisabled-optimization check_cflags -Wdisabled-optimization
check_cflags -Wpointer-arith check_cflags -Wpointer-arith
check_cflags -Wredundant-decls check_cflags -Wredundant-decls
check_cflags -Wcast-qual
check_cflags -Wwrite-strings check_cflags -Wwrite-strings
check_cflags -Wtype-limits check_cflags -Wtype-limits
check_cflags -Wundef check_cflags -Wundef
check_cflags -Wmissing-prototypes check_cflags -Wmissing-prototypes
check_cflags -Wstrict-prototypes check_cflags -Wstrict-prototypes
enabled extra_warnings && check_cflags -Winline enabled extra_warnings && check_cflags -Winline
enabled extra_warnings && check_cflags -Wcast-qual
check_disable_warning(){ check_disable_warning(){
warning_flag=-W${1#-Wno-} warning_flag=-W${1#-Wno-}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment