From 534e87fc7c784e42c445471bb0cd2eae3f051fd7 Mon Sep 17 00:00:00 2001 From: Stefan Troeger Date: Fri, 1 Nov 2013 11:05:58 +0100 Subject: [PATCH] supress useless msvc warnings --- src/Mod/Assembly/App/opendcm/core.hpp | 2 ++ src/Mod/Assembly/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Mod/Assembly/App/opendcm/core.hpp b/src/Mod/Assembly/App/opendcm/core.hpp index b30cd8aec7..f878620bdf 100644 --- a/src/Mod/Assembly/App/opendcm/core.hpp +++ b/src/Mod/Assembly/App/opendcm/core.hpp @@ -25,6 +25,8 @@ #pragma warning( disable : 4503 ) //warning about changed pod initalising behaviour (boost blank in variant) #pragma warning( disable : 4345 ) + //warning about multiple assignemnt operators in Equation + #pragma warning( disable : 4522 ) //disable boost concept checks, as some of them have alignment problems which bring msvc to an error //(for example DFSvisitor check in boost::graph::depht_first_search) diff --git a/src/Mod/Assembly/CMakeLists.txt b/src/Mod/Assembly/CMakeLists.txt index f4b5f84160..aa8e18d55d 100644 --- a/src/Mod/Assembly/CMakeLists.txt +++ b/src/Mod/Assembly/CMakeLists.txt @@ -8,6 +8,7 @@ endif(FREECAD_ASSEMBLY_SOLVER_LOGS) if(MSVC) add_definitions(/wd4503) +add_definitions(/wd4181) endif(MSVC) add_subdirectory(App)