configure.in
changeset 2292 4845eb8d4221
parent 2290 323a5af2924b
child 2293 824f6dee6648
--- a/configure.in	Sat Dec 29 22:15:39 2007 +0000
+++ b/configure.in	Sun Dec 30 05:01:35 2007 +0000
@@ -878,7 +878,7 @@
 
     visibility_CFLAGS="-fvisibility=hidden"
     save_CFLAGS="$CFLAGS"
-    CFLAGS="$save_CFLAGS $visibility_CFLAGS"
+    CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror"
     AC_TRY_COMPILE([
     #if !defined(__GNUC__) || __GNUC__ < 4
     #error SDL only uses visibility attributes in GCC 4 or newer