Browse Source

required warning to disable until we get to the right MSVC version

Signed-off-by: Esteban Papp <[email protected]>
Esteban Papp 4 years ago
parent
commit
0f3381a7a7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmake/Platform/Common/MSVC/Configurations_msvc.cmake

+ 1 - 0
cmake/Platform/Common/MSVC/Configurations_msvc.cmake

@@ -36,6 +36,7 @@ ly_append_configurations_options(
         
         # Disabling some warnings
         /wd4201 # nonstandard extension used: nameless struct/union. This actually became part of the C++11 std, MS has an open issue: https://developercommunity.visualstudio.com/t/warning-level-4-generates-a-bogus-warning-c4201-no/103064
+        /wd4619 # unknown #pragma warning. Unfortunately some versions of MSVC 16.X dont filter this warning coming from external headers and Qt has a bad warning in QtCore/qvector.h(340,12)
 
         # Enabling warnings that are disabled by default from /W4
         # https://docs.microsoft.com/en-us/cpp/preprocessor/compiler-warnings-that-are-off-by-default?view=vs-2019