From bd484ca7cafdbe5567e9b1d7e76aee0df2b9b2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Wed, 30 Oct 2013 21:11:55 +0100 Subject: [PATCH] suppress useless msvc warning --- src/Mod/Assembly/App/Solver.h | 8 ++++---- src/Mod/Assembly/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Mod/Assembly/App/Solver.h b/src/Mod/Assembly/App/Solver.h index 8867f5eee3..b330d71427 100644 --- a/src/Mod/Assembly/App/Solver.h +++ b/src/Mod/Assembly/App/Solver.h @@ -23,6 +23,10 @@ #ifndef SOLVER_H #define SOLVER_H +#include "opendcm/core.hpp" +#include "opendcm/module3d.hpp" +#include "opendcm/modulepart.hpp" + #include #include @@ -30,10 +34,6 @@ #include #include -#include "opendcm/core.hpp" -#include "opendcm/module3d.hpp" -#include "opendcm/modulepart.hpp" - struct gp_pnt_accessor { template diff --git a/src/Mod/Assembly/CMakeLists.txt b/src/Mod/Assembly/CMakeLists.txt index 0f3d8eecf3..f4b5f84160 100644 --- a/src/Mod/Assembly/CMakeLists.txt +++ b/src/Mod/Assembly/CMakeLists.txt @@ -6,6 +6,10 @@ if(FREECAD_ASSEMBLY_SOLVER_LOGS) add_definitions(-DUSE_LOGGING) endif(FREECAD_ASSEMBLY_SOLVER_LOGS) +if(MSVC) +add_definitions(/wd4503) +endif(MSVC) + add_subdirectory(App) if(BUILD_GUI) add_subdirectory(Gui)