Your message dated Fri, 15 Jul 2005 13:55:46 +0200
with message-id <[EMAIL PROTECTED]>
and subject line corrected in latest version of freefem3d 1.0pre7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Jan 2005 18:23:19 +0000
>From [EMAIL PROTECTED] Mon Jan 31 10:23:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d128055.adsl.hansenet.de (localhost.localdomain) [80.171.128.55] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CvgCk-0001vC-00; Mon, 31 Jan 2005 10:23:18 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CvgCi-0000a1-Q5; Mon, 31 Jan 2005 19:23:16 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: freefem3d: FTBFS (amd64/gcc-4.0): explicit specialization of 'void 
ConnectivityBuilder<MeshOfHexahedra>::setFaces()' must be introduced by 
'template <>'
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 31 Jan 2005 19:23:16 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: freefem3d
Severity: normal
Tags: patch

When building 'freefem3d' on amd64 with gcc-4.0,
I get the following error:

../../solver/ConnectivityBuilder.cpp:25: error: explicit specialization of 
'void ConnectivityBuilder<MeshOfHexahedra>::setFaces()' must be introduced by 
'template <>'
../../solver/ConnectivityBuilder.cpp:25: error: template-id 'setFaces<>' for 
'void ConnectivityBuilder<MeshOfHexahedra>::setFaces()' does not match any 
template declaration
../../solver/ConnectivityBuilder.cpp:25: error: invalid function declaration
../../solver/ConnectivityBuilder.cpp:58: error: explicit specialization of 
'void ConnectivityBuilder<MeshOfTetrahedra>::setFaces()' must be introduced by 
'template <>'
../../solver/ConnectivityBuilder.cpp:58: error: template-id 'setFaces<>' for 
'void ConnectivityBuilder<MeshOfTetrahedra>::setFaces()' does not match any 
template declaration
../../solver/ConnectivityBuilder.cpp:58: error: invalid function declaration
../../solver/ConnectivityBuilder.cpp:77: error: explicit specialization of 
'void ConnectivityBuilder<SurfaceMeshOfTriangles>::setFaces()' must be 
introduced by 'template <>'
../../solver/ConnectivityBuilder.cpp:77: error: template-id 'setFaces<>' for 
'void ConnectivityBuilder<SurfaceMeshOfTriangles>::setFaces()' does not match 
any template declaration
../../solver/ConnectivityBuilder.cpp:77: error: invalid function declaration
make[3]: *** [ConnectivityBuilder.o] Error 1
make[3]: Leaving directory `/freefem3d-1.0pre5/opt/solver'

With the attached patch 'freefem3d' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/freefem3d-1.0pre5/solver/ConnectivityBuilder.cpp 
./solver/ConnectivityBuilder.cpp
--- ../tmp-orig/freefem3d-1.0pre5/solver/ConnectivityBuilder.cpp        
2003-04-27 19:04:27.000000000 +0200
+++ ./solver/ConnectivityBuilder.cpp    2005-01-31 17:41:35.725866180 +0100
@@ -22,7 +22,7 @@
 #include <MeshOfTetrahedra.hpp>
 #include <MeshOfHexahedra.hpp>
 
-void ConnectivityBuilder<MeshOfHexahedra>::setFaces()
+template <> void ConnectivityBuilder<MeshOfHexahedra>::setFaces()
 {
   __face[0][0] = 4;
   __face[0][1] = 7;
@@ -55,7 +55,7 @@
   __face[5][3] = 4;
 }
 
-void ConnectivityBuilder<MeshOfTetrahedra>::setFaces()
+template <> void ConnectivityBuilder<MeshOfTetrahedra>::setFaces()
 {
   __face[0][0] = 1;
   __face[0][1] = 2;
@@ -74,7 +74,7 @@
   __face[3][2] = 0;
 }
 
-void ConnectivityBuilder<SurfaceMeshOfTriangles>::setFaces()
+template <> void ConnectivityBuilder<SurfaceMeshOfTriangles>::setFaces()
 {
   __face[0][0] = 1;
   __face[0][1] = 2;
diff -urN ../tmp-orig/freefem3d-1.0pre5/solver/ElementaryMatrixSet.cpp 
./solver/ElementaryMatrixSet.cpp
--- ../tmp-orig/freefem3d-1.0pre5/solver/ElementaryMatrixSet.cpp        
2003-12-26 19:38:02.000000000 +0100
+++ ./solver/ElementaryMatrixSet.cpp    2005-01-31 17:53:57.555273982 +0100
@@ -36,7 +36,7 @@
 */
 
 #define EMS(ElementaryMatrixType)                                        \
-ElementaryMatrixSet<ElementaryMatrixType>::                              \
+template <> ElementaryMatrixSet<ElementaryMatrixType>::                        
          \
 ElementaryMatrixSet(const Problem& problem)                              \
   : __divMuGrad(false),                                                        
  \
     __massOperator(false),                                               \

---------------------------------------
Received: (at 293018-done) by bugs.debian.org; 15 Jul 2005 11:56:22 +0000
>From [EMAIL PROTECTED] Fri Jul 15 04:56:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp3.epfl.ch [128.178.2.15] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1DtOnl-0004SE-00; Fri, 15 Jul 2005 04:56:21 -0700
Received: (qmail 2878 invoked by uid 107); 15 Jul 2005 11:55:49 -0000
Received: from mailav1.epfl.ch (128.178.50.190)
  by smtp3.epfl.ch with SMTP; 15 Jul 2005 11:55:49 -0000
Received: from (128.178.50.19) by MAILAV1.EPFL.CH via smtp
         id 418e_5ee737b8_f526_11d9_9ad9_001143d18479;
        Fri, 15 Jul 2005 13:48:33 +0200
Received: from iacspc47.epfl.ch (128.178.69.177)
  by smtp0.epfl.ch (AngelmatoPhylax SMTP proxy); Fri, 15 Jul 2005 13:55:49 +0200
From: Christophe Prud'homme <[EMAIL PROTECTED]>
Organization: EPFL
To: [EMAIL PROTECTED]
Subject: corrected in latest version of freefem3d 1.0pre7
Date: Fri, 15 Jul 2005 13:55:46 +0200
User-Agent: KMail/1.8.1
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

this bug is corrected in latest version of freefem3d 1.0pre7

thanks for the report
C.
=2D-=20
Christophe Prud'homme
EPFL SB IACS CMCS
MA B2 534 (B=E2timent MA)
Station 8
CH-1015 Lausanne
Tel: +41 (0)21 693 25 47
=46ax: +41 (0)21 693 43 03


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to