modperl also needs -Wno-missing-declarations

Now ZNC compiles with -Wmissing-declarations :)
(BTW I hate the perl headers, could some fix them app so that they cause
less warnings?)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1499 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-04-26 10:14:42 +00:00
parent ebc79689fd
commit dfd95078dd

View File

@@ -45,7 +45,7 @@ ifneq "$(PERL)" ""
# We execute this now so that we see the 'beauty' of these flags in make's output
modperlFLAGS := $(shell $(PERL) -MExtUtils::Embed -e perl_inc -e ldopts)
# Perl API is ugly, casting string literals to char* and redeclaring functions :(
modperlFLAGS += -Wno-write-strings -Wno-redundant-decls
modperlFLAGS += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
PERLHOOK := modperl_install
else
FILES := $(shell echo $(FILES) | sed -e "s/modperl//")