From 1300289abb16be156c7625d5193f91adb0946c49 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 22 Sep 2020 12:45:33 +0300 Subject: [PATCH] Disable MSVC warning 5219. implicit conversion from '' to '', possible loss of data. No way to disable it for Qt's headers. --- common.pri | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common.pri b/common.pri index ed9c98177..858645b51 100644 --- a/common.pri +++ b/common.pri @@ -944,6 +944,7 @@ MSVC_DEBUG_CXXFLAGS += \ -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 - -wd5204 # class has virtual functions, but its trivial destructor is not virtual; instances of objects derived - # from this class may not be destructed correctly + -wd5204 \ # class has virtual functions, but its trivial destructor is not virtual; instances of objects derived + # from this class may not be destructed correctly + -wd5219 # implicit conversion from '' to '', possible loss of data }