-Wold-style-definition is not valid for C++
authorBenjamin Otte <otte@redhat.com>
Sun, 21 Mar 2010 16:46:06 +0000 (17:46 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 21 Mar 2010 16:46:06 +0000 (17:46 +0100)
configure.ac

index 86831cf..474f80d 100644 (file)
@@ -281,7 +281,7 @@ AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
 dnl define an ERROR_CXXFLAGS Makefile variable
 AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [
         -Wmissing-declarations -Wredundant-decls -Wundef
-        -Wwrite-strings -Wold-style-definition -Wcast-align
+        -Wwrite-strings -Wcast-align
         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
 
 dnl define correct level for debugging messages