[Gmsh] Fwd: Accepted gmsh 1.60.1-2 (source i386)
Christophe Prud'homme
prudhomm at mit.edu
Wed Sep 28 13:02:46 CEST 2005
FYI, gmsh has been updated in debian/sid to reflect libfltk changes in Debian
and fix a ompilation bug with recent version of g++.
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();
Christophe,
I got also many warnings such as this one
warning: 'class netgen::MeshOptimize2d' has virtual functions but non-virtual
destructor
Best regards
C.
--
MIT Affiliate
-------------- next part --------------
An embedded message was scrubbed...
From: "Christophe Prud'homme" <prudhomm at debian.org>
Subject: Accepted gmsh 1.60.1-2 (source i386)
Date: Wed, 28 Sep 2005 03:17:10 -0700
Size: 4235
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050928/2a8cc70a/attachment.mht>