Suppress gcc-4.9 auto_ptr deprecation in test

This commit is contained in:
William S Fulton 2013-12-22 17:49:16 +00:00
commit 6250c288b5

View file

@ -1,5 +1,11 @@
%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)
%include "std_auto_ptr.i"