From: oharboe Date: Mon, 27 Apr 2009 05:30:15 +0000 (+0000) Subject: Zach Welch add -Wcast-align and -Wbad-function-cast X-Git-Tag: v0.2.0~970 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=60fdeb057a53597bbd1b05b9fbc7c2d05fe8d143;p=openocd Zach Welch add -Wcast-align and -Wbad-function-cast git-svn-id: svn://svn.berlios.de/openocd/trunk@1533 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/configure.in b/configure.in index 632aaf8a..88590137 100644 --- a/configure.in +++ b/configure.in @@ -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"