+ fix various warnings with VC12

This commit is contained in:
wmayer
2016-04-16 12:02:58 +02:00
parent a8d37dabbe
commit dfa5972b4b
7 changed files with 10 additions and 5 deletions

View File

@@ -62,9 +62,11 @@
using namespace Fem;
// maybe in the c++ standard later, older compiler don't have round()
#if _MSC_VER <= 1700
double round(double r) {
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
}
#endif
PROPERTY_SOURCE(Fem::Constraint, App::DocumentObject);