diff --git a/src/Mod/Fem/App/HypothesisPy.cpp b/src/Mod/Fem/App/HypothesisPy.cpp index dd1949d3da..b2a6640e94 100755 --- a/src/Mod/Fem/App/HypothesisPy.cpp +++ b/src/Mod/Fem/App/HypothesisPy.cpp @@ -22,6 +22,10 @@ #include "PreCompiled.h" +// HypothesisPy.h must be included as first file to avoid compiler warning, +// see: https://forum.freecadweb.org/viewtopic.php?p=633192#p633192 +#include "HypothesisPy.h" + #ifndef _PreComp_ # include @@ -64,7 +68,6 @@ #include #include -#include "HypothesisPy.h" #include "FemMeshPy.h"