Fix warnings about using std::auto_ptr on C++11 or newer.

This commit is contained in:
Peter Powell 2018-08-21 15:24:14 +01:00
parent 71c367f89f
commit bc4751a327

View File

@ -43,11 +43,12 @@
#elif defined __GNUC__
# if __GNUC__ < 6
# pragma GCC diagnostic ignored "-pedantic"
# else
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# endif
#endif
// Fix warnings about using std::auto_ptr on C++11 or newer.
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>