mirror of https://github.com/swig/swig
Suppress testcase clang warning for auto_ptr deprecation
This commit is contained in:
parent
7231c2a065
commit
d9cac176f6
|
@ -4,6 +4,12 @@
|
|||
#if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // auto_ptr deprecation
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
// Suppress 'auto_ptr<>' is deprecated
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
%}
|
||||
|
||||
#if defined(SWIGCSHARP) || defined(SWIGJAVA) || defined(SWIGPYTHON)
|
||||
|
|
Loading…
Reference in New Issue