mirror of https://github.com/swig/swig
[Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang
This commit is contained in:
parent
1c47cc7289
commit
03570f85f2
|
@ -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.
|
||||
|
|
|
@ -21,7 +21,7 @@ SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
|
|||
|
||||
%init %{
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && ! defined(XSPROTO)
|
||||
extern "C"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue