summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-03-02 15:24:02 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-03-02 15:24:02 (GMT)
commitd4243bc66fc911012c8222514d5b33a222993ae5 (patch)
tree58ccc7f802a7129f65628019e88d94a1df6c44d2 /src/classdef.cpp
parentb3ecf217127b65582a6770b30df7bbb602ed778f (diff)
downloadDoxygen-d4243bc66fc911012c8222514d5b33a222993ae5.zip
Doxygen-d4243bc66fc911012c8222514d5b33a222993ae5.tar.gz
Doxygen-d4243bc66fc911012c8222514d5b33a222993ae5.tar.bz2
Disabled "inheritance by dominance" warning (try 2)
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 5ea8cea..cd7b3a1 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -49,6 +49,12 @@
//-----------------------------------------------------------------------------
+#if defined(_WIN32) && !defined(__CYGWIN__)
+// To disable 'inherits via dominance' warnings.
+// See also https://stackoverflow.com/a/14487243/784672
+#pragma warning( disable: 4250 )
+#endif
+
/** Implementation of the ClassDef interface */
class ClassDefImpl : public DefinitionImpl, public ClassDef