]> git.pld-linux.org Git - packages/perl.git/commitdiff
- fix for problem compiling swigged c++ code with perl 5.8.8
authorhawk <hawk@pld-linux.org>
Sat, 15 Apr 2006 21:57:27 +0000 (21:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl_588-27203.patch -> 1.1

perl_588-27203.patch [new file with mode: 0644]

diff --git a/perl_588-27203.patch b/perl_588-27203.patch
new file mode 100644 (file)
index 0000000..443725a
--- /dev/null
@@ -0,0 +1,36 @@
+Change 27203 by rgs@stencil on 2006/02/16 14:15:53
+
+       Subject: Problem compiling swigged c++ code with 5.8.8
+       From: Merijn Broeren <merijnb@iloquent.com>
+       Date: Wed, 15 Feb 2006 13:51:49 +0100
+       Message-ID: <20060215125148.GA12535@brugman.iloquent.nl>
+
+Affected files ...
+
+... //depot/perl/XSUB.h#103 edit
+... //depot/perl/perl.h#665 edit
+
+Differences ...
+
+--- perl.h     2006/02/12 00:10:22     19541
++++ perl.h     2006/02/16 22:15:53     19572
+@@ -211,7 +211,7 @@
+ #endif
+ #ifndef PERL_UNUSED_DECL
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define PERL_UNUSED_DECL __attribute__unused__
+ #  else
+ #    define PERL_UNUSED_DECL
+--- XSUB.h     2006/02/02 22:24:03     19447
++++ XSUB.h     2006/02/16 22:15:53     19572
+@@ -91,7 +91,7 @@
+ #if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
+ #  define XS(name) __declspec(dllexport) void name(pTHX_ CV* cv)
+ #else
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define XS(name) void name(pTHX_ CV* cv __attribute__unused__)
+ #  else
+ #    define XS(name) void name(pTHX_ CV* cv)
This page took 0.036051 seconds and 4 git commands to generate.