From: rwst Date: Mon, 19 Jun 2006 08:29:23 +0000 (+0000) Subject: add -Wno-invalid-offsetof, removes standard-conform but bizarre warnings: "The restri... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba0a645ba636811d5753a4d4c24c88190f74cf24;p=inkscape.git add -Wno-invalid-offsetof, removes standard-conform but bizarre warnings: "The restrictions on offsetof may be relaxed in a future version of the standard." (man gcc) --- diff --git a/configure.ac b/configure.ac index b752a9633..19dfefc01 100644 --- a/configure.ac +++ b/configure.ac @@ -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"