Răsfoiți Sursa

2009-01-29 Zoltan Varga <[email protected]>

	* configure.in: Remove -Wcast-align from the warning list, it leads to a lot of
	useless warnings which can only be fixed by casting a pointer to (void*).

svn path=/trunk/mono/; revision=125006
Zoltan Varga 17 ani în urmă
părinte
comite
d362e412fb
2 a modificat fișierele cu 6 adăugiri și 1 ștergeri
  1. 5 0
      ChangeLog
  2. 1 1
      configure.in

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2009-01-29  Zoltan Varga  <[email protected]>
+
+	* configure.in: Remove -Wcast-align from the warning list, it leads to a lot of
+	useless warnings which can only be fixed by casting a pointer to (void*).
+
 2009-01-29  Miguel de Icaza  <[email protected]>
 
 	* configure.in: Add a couple of new AM conditionals for POSIX and

+ 1 - 1
configure.in

@@ -330,7 +330,7 @@ AC_CHECK_SIZEOF(void *, 4)
 
 WARN=''
 if test x"$GCC" = xyes; then
-        WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
+        WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings'
 		# The runtime code does not respect ANSI C strict aliasing rules
 		CFLAGS="$CFLAGS -fno-strict-aliasing"