mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 11:42:04 +10:00
Add -Wredundant-decls to prevent unwanted duplicate declarations.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1562 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
a8f1307992
commit
2f3dc12ad7
@ -779,6 +779,7 @@ if test "${gcc_wextra}" = yes; then
|
||||
GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter"
|
||||
GCC_WARNINGS="${GCC_WARNINGS} -Wbad-function-cast"
|
||||
GCC_WARNINGS="${GCC_WARNINGS} -Wcast-align"
|
||||
GCC_WARNINGS="${GCC_WARNINGS} -Wredundant-decls"
|
||||
fi
|
||||
if test "${gcc_werror}" = yes; then
|
||||
GCC_WARNINGS="${GCC_WARNINGS} -Werror"
|
||||
|
Loading…
Reference in New Issue
Block a user