From: Andy Dougherty Date: Wed, 24 Oct 2007 13:12:49 +0000 (-0400) Subject: (Was Re: [PATCH] FreeBSD atoll() warning) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d4d1c152f27e79bb2170012c2b85f944e06d9e9;p=p5sagit%2Fp5-mst-13.2.git (Was Re: [PATCH] FreeBSD atoll() warning) Message-ID: p4raw-id: //depot/perl@32190 --- diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 8bfb742..38908fe 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -284,3 +284,12 @@ EOCBU case "$usemallocwrap" in '') usemallocwrap='define' ;; esac + +# XXX Under FreeBSD 6.0 (and probably most other similar versions) +# Perl_die(NULL) generates a warning: +# pp_sys.c:491: warning: null format string +# Configure supposedely tests for this, but apparently the test doesn't +# work. Volunteers with FreeBSD are needed to improving the Configure test. +# Meanwhile, the following workaround should be safe on all versions +# of FreeBSD. +d_printf_format_null='undef'