From: Magnus Hagander Date: Wed, 25 Jul 2007 10:17:46 +0000 (+0000) Subject: Silence compiler warnings on mingw X-Git-Tag: REL8_3_BETA1~397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=430d0829ae5f014442e48b1ae7eb6d6d6dfd19c7;p=postgresql Silence compiler warnings on mingw --- diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 46113fdf04..3e1e0487bb 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -1,5 +1,5 @@ # Makefile for PL/Perl -# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.30 2007/02/10 04:26:24 tgl Exp $ +# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.31 2007/07/25 10:17:46 mha Exp $ subdir = src/pl/plperl top_builddir = ../../.. @@ -21,6 +21,9 @@ perl_archlibexp := $(subst \,/,$(perl_archlibexp)) perl_privlibexp := $(subst \,/,$(perl_privlibexp)) perl_embed_ldflags = -L$(perl_archlibexp)/CORE -lperl58 override CPPFLAGS += -DPLPERL_HAVE_UID_GID +# Perl on win32 contains /* within comment all over the header file, +# so disable this warning. +override CFLAGS += -Wno-comment endif override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE