diff options
author | Merijn Broeren <merijnb@iloquent.nl> | 2006-02-15 14:51:49 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-16 14:15:53 +0000 |
commit | 34659ad42c4b407f5dceb74f4005f299acd3ba46 (patch) | |
tree | d1a3462bbf6d8925667ba0f35419ba2cba5677bf /XSUB.h | |
parent | 55b5d70095e7b9679db373ca7ac72c1951b35a3c (diff) | |
download | perl-34659ad42c4b407f5dceb74f4005f299acd3ba46.tar.gz |
Problem compiling swigged c++ code with 5.8.8
Message-ID: <20060215125148.GA12535@brugman.iloquent.nl>
p4raw-id: //depot/perl@27203
Diffstat (limited to 'XSUB.h')
-rw-r--r-- | XSUB.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ is a lexical $_ in scope. # define XS(name) EXPORT_C void name(pTHX_ CV* cv) #endif #ifndef XS -# 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) |