(Was Re: [PATCH] FreeBSD atoll() warning)
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 24 Oct 2007 13:12:49 +0000 (09:12 -0400)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 25 Oct 2007 08:48:49 +0000 (08:48 +0000)
Message-ID: <Pine.LNX.4.64.0710241307450.21836@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@32190

hints/freebsd.sh

index 8bfb742..38908fe 100644 (file)
@@ -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'