Package: gmsh Version: 1.60.1-1 Severity: serious Tags: patch When building 'gmsh' on unstable, I get the following error:
x86_64-linux-gnu-g++ -Wall -O2 -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_LIBZ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK -I/usr/include/freetype2 -I../Common -Ilibsrc/include -Ilibsrc/interface -DNO_PARALLEL_THREADS -UWIN32 -c libsrc/meshing/global.cpp -o libsrc/meshing/global.o libsrc/include/../gprim/adtree.hpp:40: warning: 'class netgen::ADTreeCriterion' has virtual functions but non-virtual destructor libsrc/include/../opti/opti.hpp:19: warning: 'class netgen::MinFunction' has virtual functions but non-virtual destructor libsrc/meshing/meshtype.hpp:441: warning: 'class netgen::Element' has virtual functions but non-virtual destructor libsrc/meshing/meshtype.hpp:965: error: ISO C++ forbids declaration of 'Mesh' with no type The attached patch fixes this. Regards Andreas Jochens diff -urN ../tmp-orig/gmsh-1.60.1/Netgen/libsrc/meshing/meshtype.hpp ./Netgen/libsrc/meshing/meshtype.hpp --- ../tmp-orig/gmsh-1.60.1/Netgen/libsrc/meshing/meshtype.hpp 2004-12-09 06:22:05.000000000 +0000 +++ ./Netgen/libsrc/meshing/meshtype.hpp 2005-08-21 13:53:14.000000000 +0000 @@ -36,7 +36,7 @@ - +class Mesh; // class CSGeometry; extern int GetTimeStamp(); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]