Ignore Steinberg's non-virtual-d'tor
This commit is contained in:
parent
53ab6cde1b
commit
cc7219636f
@ -44,9 +44,12 @@ tresult PLUGIN_API queryInterface (const TUID _iid, void** obj) SMTG_OVERRIDE \
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
||||||
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
|
# pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
# pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor"
|
||||||
|
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Steinberg {
|
namespace Steinberg {
|
||||||
|
@ -41,9 +41,12 @@ class AutomationList;
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
||||||
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
|
# pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
# pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor"
|
||||||
|
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Steinberg {
|
namespace Steinberg {
|
||||||
|
@ -13,9 +13,12 @@
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
||||||
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
|
# pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
|
# pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor"
|
||||||
|
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
|
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__cplusplus < 201103L)
|
#if (__cplusplus < 201103L)
|
||||||
|
Loading…
Reference in New Issue
Block a user