← Back to team overview

dolfin team mailing list archive

Re: compile problem

 

Sorry about that. Variable should have a virtual destructor and my GCC
should tell about it. Don't know why it doesn't.

I'll push an update but can't do it just now since I have a
substantial update to Variable/NewParameters in progress.

-- 
Anders


On Mon, May 11, 2009 at 09:09:23AM -0400, Shawn Walker wrote:
> I keep getting the following compile error.  I have even tried re-cloning 
> the dolfin dir.
> 
> - Shawn
> 
> Resolving compiler... done
> Found optional package: petsc
> Found optional package: slepc
> Found optional package: umfpack
> Found optional package: gts
> Found optional package: cholmod
> Disabling compilation of Python wrappers
> scons: done reading SConscript files.
> scons: Building targets ...
> c++ -o dolfin/ale/TransfiniteInterpolation.os -c -Wall -pipe -ansi -Werror 
> -DDEBUG -g -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.9.2\" -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/ale/TransfiniteInterpolation.cpp
> cc1plus: warnings being treated as errors
> ./dolfin/common/Variable.h:18: warning: lass dolfin::Variablehas virtual 
> functions but non-virtual destructor
> ./dolfin/log/Table.h:37: warning: lass dolfin::Tablehas virtual functions 
> but non-virtual destructor
> ./dolfin/mesh/Mesh.h:63: warning: lass dolfin::Meshhas virtual functions 
> but non-virtual destructor
> ./dolfin/mesh/MeshData.h: In instantiation of olfin::MeshFunction<unsigned 
> int>
> dolfin/ale/TransfiniteInterpolation.cpp:67:   instantiated from here
> ./dolfin/mesh/MeshData.h:19: warning: truct dolfin::MeshFunction<unsigned 
> int>has virtual functions but non-virtual destructor
> scons: *** [dolfin/ale/TransfiniteInterpolation.os] Error 1
> scons: building terminated because of errors.
> dolfin/ale/TransfiniteInterpolation.os failed: Error 1
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References