Disable MSVC warning 5219. implicit conversion from '<type>' to '<type>', possible loss of data.

No way to disable it for Qt's headers.
merge-requests/12/head
Roman Telezhynskyi 2020-09-22 12:45:33 +03:00
parent 0e6284b929
commit 1300289abb
1 changed files with 3 additions and 2 deletions

View File

@ -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 '<type>' to '<type>', possible loss of data
}