]> git.sur5r.net Git - openocd/commitdiff
Zach Welch <zw@superlucidity.net> add -Wcast-align and -Wbad-function-cast
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 27 Apr 2009 05:30:15 +0000 (05:30 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 27 Apr 2009 05:30:15 +0000 (05:30 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1533 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in

index 632aaf8a29aab74070a19967e03dd7f3cb2bc425..885901371bdb0620f9a1616231277bb52b3f2b9e 100644 (file)
@@ -776,6 +776,8 @@ AC_PROG_RANLIB
 GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security"
 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"
 fi
 if test "${gcc_werror}" = yes; then
        GCC_WARNINGS="${GCC_WARNINGS} -Werror"