forked from boostorg/smart_ptr
Disable -Wdelete-non-virtual-dtor
This commit is contained in:
@@ -9,6 +9,10 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ > 4
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/smart_ptr/enable_shared_from_raw.hpp>
|
#include <boost/smart_ptr/enable_shared_from_raw.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
|
@@ -7,6 +7,10 @@
|
|||||||
#pragma warning(disable: 4514) // unreferenced inline removed
|
#pragma warning(disable: 4514) // unreferenced inline removed
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ > 4
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// shared_from_this_test.cpp
|
// shared_from_this_test.cpp
|
||||||
//
|
//
|
||||||
|
@@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ > 4
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// shared_ptr_basic_test.cpp
|
// shared_ptr_basic_test.cpp
|
||||||
//
|
//
|
||||||
|
@@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ > 4
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// shared_ptr_test.cpp
|
// shared_ptr_test.cpp
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user