Suppress gcc-4.9 auto_ptr deprecation in test
This commit is contained in:
parent
32ad89668a
commit
6250c288b5
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
%module li_std_auto_ptr
|
%module li_std_auto_ptr
|
||||||
|
|
||||||
|
%{
|
||||||
|
#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // auto_ptr deprecation
|
||||||
|
#endif
|
||||||
|
%}
|
||||||
|
|
||||||
#if defined(SWIGCSHARP) || defined(SWIGJAVA) || defined(SWIGPYTHON)
|
#if defined(SWIGCSHARP) || defined(SWIGJAVA) || defined(SWIGPYTHON)
|
||||||
|
|
||||||
%include "std_auto_ptr.i"
|
%include "std_auto_ptr.i"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue