summaryrefslogtreecommitdiff
path: root/embedserv/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 09:49:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 10:11:13 +0100
commit5a7289dc14bc79d74890ccc9bb62c33c30380966 (patch)
tree309028a36c16cd1868134de43b9fb302eb6a085e /embedserv/source/inc
parentf43e0fe4d64da654a48ae5d912a8c8f1a8596b11 (diff)
Silence -Werror,-Wnon-virtual-dtor in external includes
Change-Id: I2ef42eca934588b219de52dfc7c373395118cc32
Diffstat (limited to 'embedserv/source/inc')
-rw-r--r--embedserv/source/inc/embeddocaccess.hxx1
-rw-r--r--embedserv/source/inc/stdafx.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/embedserv/source/inc/embeddocaccess.hxx b/embedserv/source/inc/embeddocaccess.hxx
index 914d44845e03..4ddefca1dab4 100644
--- a/embedserv/source/inc/embeddocaccess.hxx
+++ b/embedserv/source/inc/embeddocaccess.hxx
@@ -35,6 +35,7 @@
#pragma clang diagnostic ignored "-Wall"
#pragma clang diagnostic ignored "-Wextra"
#pragma clang diagnostic ignored "-Wmicrosoft"
+#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
#include <atldbcli.h>
#if defined __clang__
diff --git a/embedserv/source/inc/stdafx.h b/embedserv/source/inc/stdafx.h
index c4b6bf43a3ea..be541309411d 100644
--- a/embedserv/source/inc/stdafx.h
+++ b/embedserv/source/inc/stdafx.h
@@ -28,6 +28,7 @@
#pragma clang diagnostic ignored "-Winvalid-noreturn"
#pragma clang diagnostic ignored "-Wmicrosoft"
#pragma clang diagnostic ignored "-Wnon-pod-varargs"
+#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#pragma clang diagnostic ignored "-Wsequence-point"
#pragma clang diagnostic ignored "-Wtypename-missing"
#endif