2009-07-02 14:20 Stefan Sperling <stsp_at_elego.de> napisał(a):
> Author: stsp
> Date: Thu Jul 2 05:20:57 2009
> New Revision: 38301
>
> Log:
> * subversion/bindings/swig/perl/native/Makefile.PL.in: Don't apply
> -Werror to implicit declaration warnings here, for now. There are
> a lot of warnings like this and erroring out on those masks other
> build problems.
>
> Modified:
> trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
>
> Modified: trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/perl/native/Makefile.PL.in?pathrev=38301&r1=38300&r2=38301
> ==============================================================================
> --- trunk/subversion/bindings/swig/perl/native/Makefile.PL.in Thu Jul 2 03:41:08 2009 (r38300)
> +++ trunk/subversion/bindings/swig/perl/native/Makefile.PL.in Thu Jul 2 05:20:57 2009 (r38301)
> @@ -30,6 +30,13 @@ my @ldmodules = map {"-lsvn_$_-1"} (@mod
> my $apr_shlib_path_var = '@SVN_APR_SHLIB_PATH_VAR@';
> my $cppflags = '@CPPFLAGS@';
> my $cflags = '@CFLAGS@';
> +
> +# ### There are many "implicit function declaration" warnings in the perl
> +# bindings. They should probably be fixed properly, but to avoid breaking
> +# the build don't treat them as fatal errors for now like we do in the
> +# core libraries of Subversion.
> +$cflags =~ s/-Werror=implicit-function-declaration//;
-0.5
What version of SWIG do you use? I'm not able to reproduce these exact
warnings in any SWIG bingings.
FYI, the following warnings cannot be ignored:
assignment makes pointer from integer without a cast
initialization makes pointer from integer without a cast
return makes pointer from integer without a cast
passing arg ... of `...' makes pointer from integer without a cast
passing arg ... of pointer to function makes pointer from integer without a cast
cast to pointer from integer of different size
--
Arfrever Frehtes Taifersar Arahesis
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2367327
Received on 2009-07-02 14:38:35 CEST