Revert "Don't treat strict-aliasing as error, this break Win32 compilation too much"
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 18:50:04 +0000 (21:50 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 18:50:04 +0000 (21:50 +0300)
This reverts commit 5ff67322e0237a3506fe4a48a7ac01dd4eda444d.

configure.ac

index 0b58327..2a30a6b 100644 (file)
@@ -1016,7 +1016,7 @@ AC_ARG_ENABLE(warnings-as-error,
 AS_IF([test "${enable_warnings_as_error}" = "yes"], [
     RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused \
      missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch \
-     bad-function-cast implicit sequence-point return-type array-bounds missing-parameter-type \
+     bad-function-cast implicit sequence-point return-type strict-aliasing array-bounds missing-parameter-type \
      overflow int-to-pointer-cast pointer-to-int-cast div-by-zero overflow ignored])
 ])
 AC_SUBST(CFLAGS_WERROR)