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)