On Thu, Jun 14, 2012 at 22:42:25 +0200, D. Barbier wrote: > Package: freecad > Version: 0.12.5284-dfsg-7 > Severity: wishlist > Tags: patch > > Hello, > > This patch is needed to compile freecad with oce 0.10 currently > in experimental. > > Denis
> diff --git a/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp > b/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp > index d03237f..13eec35 100644 > --- a/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp > +++ b/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp > @@ -52,6 +52,7 @@ > #include <gp_Pnt.hxx> > #include <gp_Vec.hxx> > #include <gp_XYZ.hxx> > +#include <math.h> > > #include "SMDS_Mesh.hxx" > #include "SMDS_Iterator.hxx" Shouldn't that (and a couple others) be <cmath>? Cheers, Julien -- Julien Cristau <[email protected]> Logilab http://www.logilab.fr/ Informatique scientifique & gestion de connaissances -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

