From 60fdeb057a53597bbd1b05b9fbc7c2d05fe8d143 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 27 Apr 2009 05:30:15 +0000 Subject: [PATCH] Zach Welch add -Wcast-align and -Wbad-function-cast git-svn-id: svn://svn.berlios.de/openocd/trunk@1533 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index 632aaf8a2..885901371 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"