mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Extended list of GCC warning flags.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
6376db2df1
commit
1914a54555
@ -48,11 +48,14 @@ dnl MC_CHECK_ONE_CFLAG([-fno-stack-protector])
|
||||
esac
|
||||
|
||||
dnl Sorted -W options:
|
||||
dnl MC_CHECK_ONE_CFLAG([-Wbad-function-cast])
|
||||
MC_CHECK_ONE_CFLAG([-Wcomment])
|
||||
MC_CHECK_ONE_CFLAG([-Wdeclaration-after-statement])
|
||||
MC_CHECK_ONE_CFLAG([-Wfloat-equal])
|
||||
MC_CHECK_ONE_CFLAG([-Wformat])
|
||||
MC_CHECK_ONE_CFLAG([-Wimplicit-function-declaration])
|
||||
MC_CHECK_ONE_CFLAG([-Wimplicit-int])
|
||||
MC_CHECK_ONE_CFLAG([-Wformat-security])
|
||||
MC_CHECK_ONE_CFLAG([-Wimplicit])
|
||||
MC_CHECK_ONE_CFLAG([-Wignored-qualifiers])
|
||||
MC_CHECK_ONE_CFLAG([-Wmissing-braces])
|
||||
MC_CHECK_ONE_CFLAG([-Wmissing-declarations])
|
||||
MC_CHECK_ONE_CFLAG([-Wmissing-parameter-type])
|
||||
@ -63,12 +66,14 @@ dnl Sorted -W options:
|
||||
MC_CHECK_ONE_CFLAG([-Wparentheses])
|
||||
MC_CHECK_ONE_CFLAG([-Wpointer-sign])
|
||||
MC_CHECK_ONE_CFLAG([-Wreturn-type])
|
||||
dnl MC_CHECK_ONE_CFLAG([-Wsequence-point])
|
||||
MC_CHECK_ONE_CFLAG([-Wsequence-point])
|
||||
MC_CHECK_ONE_CFLAG([-Wshadow])
|
||||
MC_CHECK_ONE_CFLAG([-Wsign-compare])
|
||||
dnl MC_CHECK_ONE_CFLAG([-Wstrict-aliasing])
|
||||
MC_CHECK_ONE_CFLAG([-Wswitch])
|
||||
MC_CHECK_ONE_CFLAG([-Wtype-limits])
|
||||
MC_CHECK_ONE_CFLAG([-Wuninitialized])
|
||||
dnl MC_CHECK_ONE_CFLAG([-Wunused-but-set-variable])
|
||||
MC_CHECK_ONE_CFLAG([-Wunused-function])
|
||||
MC_CHECK_ONE_CFLAG([-Wunused-label])
|
||||
MC_CHECK_ONE_CFLAG([-Wunused-parameter])
|
||||
|
Loading…
Reference in New Issue
Block a user