Disable -Wdelete-non-virtual-dtor

This commit is contained in:
Peter Dimov
2019-08-29 12:27:51 +03:00
parent 30291c406a
commit 6195ae1eb0
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@
#pragma warning(disable: 4514) // unreferenced inline removed
#endif
#if defined(__GNUC__) && __GNUC__ > 4
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
#endif
//
// shared_from_this_test.cpp
//