From 8b47773c15dfe377b663a0a0da9037fc88a983e0 Mon Sep 17 00:00:00 2001 From: EFanZh Date: Sat, 22 May 2021 17:50:02 +0800 Subject: [PATCH] Suppress C4275 warning for now See https://github.com/google/googletest/issues/3415. --- c++/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt index caf9e868..e37fb786 100644 --- a/c++/CMakeLists.txt +++ b/c++/CMakeLists.txt @@ -49,6 +49,7 @@ if(STANDALONE_PROJECT) "/we4365" # 'expression': conversion from 'type' to 'type', signed/unsigned mismatch "/we4388" # 'token': signed/unsigned mismatch "/we4826" # Conversion from 'type' to 'type' is sign-extended. This may cause unexpected runtime behavior. + "/wd4275" # TODO: Fix or investigate this. https://github.com/google/googletest/issues/3415. "/WX" ) else()