← Back to team overview

dolfin team mailing list archive

dolfin compile error

 

I get this error:

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/walker/FENICS/dolfin/dolfin/SConscript", line 118, in <module>
scons: done reading SConscript files.
scons: Building targets ...
c++ -o dolfin/ode/dGqMethod.os -c -Wall -pipe -ansi -Werror -DDEBUG -g -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.8.0\" -DHAS_PETSC=1 -DHAS_SLEPC=1 -DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_CHOLMOD=1 -fPIC -I. -I/home/walker/build/include -I/usr/include/boost -I/usr/include/libxml2 -I/home/walker/src/petsc-2.3.3-p13/bmake/linux-gnu-cxx-debug -I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include -I/home/walker/build/lib -Idolfin -I/home/walker/src/slepc-2.3.3 -I/home/walker/src/slepc-2.3.3/include -I/home/walker/src/petsc-2.3.3-p13/bmake/linux-gnu-cxx-debug -I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include -I/home/walker/build/lib -Idolfin -I/usr/include/suitesparse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/walker/build/include -I/usr/include/suitesparse dolfin/ode/dGqMethod.cpp
cc1plus: warnings being treated as errors
dolfin/ode/dGqMethod.cpp: In member function irtual dolfin::real dolfin::dGqMethod::timestep(dolfin::real, dolfin::real, dolfin::real, dolfin::real) const dolfin/ode/dGqMethod.cpp:64: warning: passing oublefor argument 2 to olfin::real dolfin::pow(dolfin::real, dolfin::uint)dolfin/ode/dGqMethod.cpp: In member function irtual dolfin::real dolfin::dGqMethod::error(dolfin::real, dolfin::real) const dolfin/ode/dGqMethod.cpp:70: warning: passing olfin::realfor argument 2 to olfin::real dolfin::pow(dolfin::real, dolfin::uint)scons: *** [dolfin/ode/dGqMethod.os] Error 1
scons: building terminated because of errors.

- Shawn


References