From b4387c3d2216bf70dcc539e6953319ccb1567af6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 22 Mar 2020 10:25:53 +0200 Subject: [PATCH] Suppress MSVC warning C5204. Warning C5204: 'Concurrency::details::_DefaultPPLTaskScheduler': class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly. Cannot left because present in MS headers. --- common.pri | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.pri b/common.pri index 8a9f35321..efdd80636 100644 --- a/common.pri +++ b/common.pri @@ -933,5 +933,7 @@ MSVC_DEBUG_CXXFLAGS += \ -wd5026 \ # move constructor was implicitly defined as deleted -wd5027 \ # move assignment operator was implicitly defined as deleted -wd5039 \ # pointer or reference to potentially throwing function passed to extern C function under -EHc. - -wd4774 # format string expected in argument 3 is not a string literal + -wd4774 \ # format string expected in argument 3 is not a string literal + -wd5204 # class has virtual functions, but its trivial destructor is not virtual; instances of objects derived + # from this class may not be destructed correctly }