supress useless msvc warnings

This commit is contained in:
Stefan Troeger 2013-11-01 11:05:58 +01:00 committed by Stefan Tröger
parent dce4061ee6
commit aa5d84196c
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -8,6 +8,7 @@ endif(FREECAD_ASSEMBLY_SOLVER_LOGS)
if(MSVC)
add_definitions(/wd4503)
add_definitions(/wd4181)
endif(MSVC)
add_subdirectory(App)