From d860e39561e7da0e34c8c2aa77ab45c76fdc47b7 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Thu, 17 Feb 2022 11:16:13 -0500 Subject: [PATCH] suppress spurious warnings --- cmake/GtsamBuildTypes.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/GtsamBuildTypes.cmake b/cmake/GtsamBuildTypes.cmake index 4b179d128..fac2bdba5 100644 --- a/cmake/GtsamBuildTypes.cmake +++ b/cmake/GtsamBuildTypes.cmake @@ -93,6 +93,10 @@ if(MSVC) /wd4267 # warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data ) + add_compile_options(/wd4005) + add_compile_options(/wd4101) + add_compile_options(/wd4834) + endif() # Other (non-preprocessor macros) compiler flags: