diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 03:28:12 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 03:28:12 +0000 |
commit | 2f3dc12ad79758e921f2fe5291642226ffb703c0 (patch) | |
tree | 158d8301caf6b78373d409932e24913b40d93e64 /configure.in | |
parent | a8f1307992277a0ef53819583dad7ad444e29043 (diff) | |
download | riscv-openocd-2f3dc12ad79758e921f2fe5291642226ffb703c0.zip riscv-openocd-2f3dc12ad79758e921f2fe5291642226ffb703c0.tar.gz riscv-openocd-2f3dc12ad79758e921f2fe5291642226ffb703c0.tar.bz2 |
Add -Wredundant-decls to prevent unwanted duplicate declarations.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1562 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 364a3d8..9eaeb7e 100644 --- a/configure.in +++ b/configure.in @@ -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" |