[Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang

This commit is contained in:
Robert Stone 2014-12-27 20:45:11 -08:00
parent 1c47cc7289
commit 03570f85f2
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Version 3.0.3 (in progress)
2014-12-27: talby
[Perl] Issue #282 perl5 archlib vs archlibexp
[Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang
2014-12-09: wsfulton
Fix #245 - regression (since swig-3.0.0) in templated constructors.

View File

@ -21,7 +21,7 @@ SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
%init %{
#ifdef __cplusplus
#if defined(__cplusplus) && ! defined(XSPROTO)
extern "C"
#endif