Code

add -Wno-invalid-offsetof, removes standard-conform but bizarre warnings: "The restri...
authorrwst <rwst@users.sourceforge.net>
Mon, 19 Jun 2006 08:29:23 +0000 (08:29 +0000)
committerrwst <rwst@users.sourceforge.net>
Mon, 19 Jun 2006 08:29:23 +0000 (08:29 +0000)
configure.ac

index b752a9633bca9dd817da81664ba2bf0993a5d843..19dfefc019dd7a7dc0b0151f90179e321b28879d 100644 (file)
@@ -24,7 +24,7 @@ if test "$GCC" = "yes"; then
   # -Wno-pointer-sign is probably new in gcc 4.0; certainly it isn't accepted
   # by gcc 2.95.
   ink_svd_CFLAGS="$CFLAGS"
-  CFLAGS="-Wno-pointer-sign $CFLAGS"
+  CFLAGS="-Wno-invalid-offsetof -Wno-pointer-sign $CFLAGS"
   AC_COMPILE_IFELSE([int dummy;
 ], , CFLAGS="$ink_svd_CFLAGS",)
   CFLAGS="-Wall -W $CFLAGS"