subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1421680 - /subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
Date Fri, 14 Dec 2012 06:05:48 GMT
Author: breser
Date: Fri Dec 14 06:05:48 2012
New Revision: 1421680

URL: http://svn.apache.org/viewvc?rev=1421680&view=rev
Log:
Similar to r1421645, but for the Perl bindings: filter out noisy warnings.

Some of this could be moved to swig.m4 but for now this will do.

* subversion/bindings/swig/perl/native/Makefile.PL.in
  ($cflags): Remove some warnings flags from our compile options.

Modified:
    subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in

Modified: subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in?rev=1421680&r1=1421679&r2=1421680&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in (original)
+++ subversion/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in Fri Dec 14 06:05:48
2012
@@ -54,6 +54,13 @@ my $includes = '@SVN_APR_INCLUDES@ @SVN_
 # SWIG is using C++ style comments in an extern "C" code.
 $cflags =~ s/-ansi\s+//g;
 $cflags =~ s/-std=c89\s+//g;
+$cflags =~ s/-Wall//g;
+$cflags =~ s/-Wunused//g;
+$cflags =~ s/-Wshadow//g;
+$cflags =~ s/-Wstrict-prototypes//g;
+$cflags =~ s/-Wmissing-declarations//g;
+$cflags =~ s/-Wmissing-prototypes//g;
+$cflags =~ s/-Wredundant-decls//g;
 
 # According to the log of r7937, the flags guarded by the conditional break
 # the build on FreeBSD if not conditionalized.



Mime
View raw message