]> git.pld-linux.org Git - packages/perl.git/blob - perl_588-27203.patch
- -devel P: perl-Module-Build = 0.2808_01
[packages/perl.git] / perl_588-27203.patch
1 Change 27203 by rgs@stencil on 2006/02/16 14:15:53
2
3         Subject: Problem compiling swigged c++ code with 5.8.8
4         From: Merijn Broeren <merijnb@iloquent.com>
5         Date: Wed, 15 Feb 2006 13:51:49 +0100
6         Message-ID: <20060215125148.GA12535@brugman.iloquent.nl>
7
8 Affected files ...
9
10 ... //depot/perl/XSUB.h#103 edit
11 ... //depot/perl/perl.h#665 edit
12
13 Differences ...
14
15 --- perl.h      2006/02/12 00:10:22     19541
16 +++ perl.h      2006/02/16 22:15:53     19572
17 @@ -211,7 +211,7 @@
18  #endif
19  
20  #ifndef PERL_UNUSED_DECL
21 -#  ifdef HASATTRIBUTE_UNUSED
22 +#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
23  #    define PERL_UNUSED_DECL __attribute__unused__
24  #  else
25  #    define PERL_UNUSED_DECL
26 --- XSUB.h      2006/02/02 22:24:03     19447
27 +++ XSUB.h      2006/02/16 22:15:53     19572
28 @@ -91,7 +91,7 @@
29  #if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
30  #  define XS(name) __declspec(dllexport) void name(pTHX_ CV* cv)
31  #else
32 -#  ifdef HASATTRIBUTE_UNUSED
33 +#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
34  #    define XS(name) void name(pTHX_ CV* cv __attribute__unused__)
35  #  else
36  #    define XS(name) void name(pTHX_ CV* cv)
This page took 0.050391 seconds and 3 git commands to generate.