diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-06-19 08:29:23 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-06-19 08:29:23 +0000 |
| commit | 6f0106db805cca056842897fe32c651217bee8e5 (patch) | |
| tree | 3a1af597cb1c7dbff518131c7fff2e2a6778d333 | |
| parent | enclose #include <libintl.h> with #ifdef HAVE_LIBINTL_H (diff) | |
| download | inkscape-6f0106db805cca056842897fe32c651217bee8e5.tar.gz inkscape-6f0106db805cca056842897fe32c651217bee8e5.zip | |
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)
(bzr r1229)
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
