Front page | perl.perl5.changes |
Postings from December 2008
Change 34991: Integrate:
From:
Nicholas Clark
Date:
December 3, 2008 03:30
Subject:
Change 34991: Integrate:
Change 34991 by nicholas@nicholas-plum on 2008/12/03 11:29:29
Integrate:
[ 34977]
Avoid warnings from exacting C compilers when -DNO_MATHOMS is in force.
Affected files ...
... //depot/maint-5.10/perl/mathoms.c#3 integrate
Differences ...
==== //depot/maint-5.10/perl/mathoms.c#3 (text) ====
Index: perl/mathoms.c
--- perl/mathoms.c#2~34599~ 2008-10-26 14:44:48.000000000 -0700
+++ perl/mathoms.c 2008-12-03 03:29:29.000000000 -0800
@@ -14,7 +14,7 @@
* hand to hand were of that sort."
*/
-#ifndef NO_MATHOMS
+
/*
* This file contains mathoms, various binary artifacts from previous
@@ -29,6 +29,12 @@
#define PERL_IN_MATHOMS_C
#include "perl.h"
+#ifdef NO_MATHOMS
+/* ..." warning: ISO C forbids an empty source file"
+ So make sure we have something in here by processing the headers anyway.
+ */
+#else
+
PERL_CALLCONV OP * Perl_ref(pTHX_ OP *o, I32 type);
PERL_CALLCONV void Perl_sv_unref(pTHX_ SV *sv);
PERL_CALLCONV void Perl_sv_taint(pTHX_ SV *sv);
End of Patch.
-
Change 34991: Integrate:
by Nicholas Clark