From dfd95078dd60c0bde398f6be1a0897cf9eaa6644 Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 26 Apr 2009 10:14:42 +0000 Subject: [PATCH] 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 --- modules/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Makefile.in b/modules/Makefile.in index 110838fd..66d1b648 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -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//")