Your message dated Wed, 16 Mar 2005 12:46:38 +0000 with message-id <[EMAIL PROTECTED]> and subject line 3dwm removed 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; 13 Aug 2004 08:45:55 +0000 >From [EMAIL PROTECTED] Fri Aug 13 01:45:55 2004 Return-path: <[EMAIL PROTECTED]> Received: from d001029.adsl.hansenet.de (localhost) [80.171.1.29] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BvXhC-00053r-00; Fri, 13 Aug 2004 01:45:55 -0700 Received: from aj by localhost with local (Exim 4.34) id 1BvXhC-0005A1-T6; Fri, 13 Aug 2004 10:45:54 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: 3dwm: FTBFS with gcc-3.4: `Math::tolerance' cannot appear in a constant-expression Message-Id: <[EMAIL PROTECTED]> Date: Fri, 13 Aug 2004 10:45:54 +0200 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (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_2004_03_25 X-Spam-Level: Package: 3dwm Severity: normal Tags: patch When building '3dwm' with gcc-3.4 I get the following error: c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/Celsius -Wall -Wp,-MD,.deps/Matrix3D.pp -c Matrix3D.cc -fPIC -DPIC -o .libs/Matrix3D.lo In file included from ../../include/Celsius/Matrix3D.hh:41, from Matrix3D.cc:36: ../../include/Celsius/Math.hh:50: error: `Math::tolerance' cannot appear in a constant-expression ../../include/Celsius/Math.hh:56: error: `Math::pi' cannot appear in a constant-expression ../../include/Celsius/Math.hh:57: error: `Math::pi' cannot appear in a constant-expression make[4]: *** [Matrix3D.lo] Error 1 make[4]: Leaving directory `/3dwm-0.3.1/src/Celsius' With the attached patch '3dwm' can be compiled using gcc-3.4. Regards Andreas Jochens diff -urN ../tmp-orig/3dwm-0.3.1/include/Celsius/Math.hh ./include/Celsius/Math.hh --- ../tmp-orig/3dwm-0.3.1/include/Celsius/Math.hh 2001-08-16 13:32:20.000000000 +0200 +++ ./include/Celsius/Math.hh 2004-08-13 09:22:59.803827561 +0200 @@ -47,14 +47,14 @@ /// Machine precision (@@@ Put some research into this!) const static double tolerance = 1e-5; - const static double epsilon = tolerance; + const static double epsilon = 1e-5; // Value of pi const static double pi = M_PI; // Degree <-> radian conversion - const static double radians_per_degree = pi / 180.; - const static double degrees_per_radian = 180. / pi; + const static double radians_per_degree = M_PI / 180.; + const static double degrees_per_radian = 180. / M_PI; static double degToRad(double deg) { return deg * radians_per_degree; } static double radToDeg(double rad) { return rad * degrees_per_radian; } diff -urN ../tmp-orig/3dwm-0.3.1/include/Polhem/SolidCache.hh ./include/Polhem/SolidCache.hh --- ../tmp-orig/3dwm-0.3.1/include/Polhem/SolidCache.hh 2004-08-13 10:16:58.844418545 +0200 +++ ./include/Polhem/SolidCache.hh 2004-08-13 09:22:59.804827409 +0200 @@ -72,7 +72,7 @@ /** * Cache key hash function object. **/ - struct hash<cache_key_t> { + template <> struct hash<cache_key_t> { /// Arbitrary number of partitions for IORs static const unsigned int hash_max = 64; diff -urN ../tmp-orig/3dwm-0.3.1/reconfig ./reconfig --- ../tmp-orig/3dwm-0.3.1/reconfig 2004-08-13 10:16:58.901409881 +0200 +++ ./reconfig 2004-08-13 09:23:30.862105985 +0200 @@ -1,2 +1,2 @@ rm -f config.status config.cache config.log -./configure --prefix= --exec-prefix=${prefix}/usr --datadir=${exec-prefix}/share --includedir=${exec-prefix}/include --mandir=${exec-prefix}/share/man --infodir=${exec-prefix}/share/info +./configure --prefix= '--exec-prefix=${prefix}/usr' '--datadir=${exec-prefix}/share' '--includedir=${exec-prefix}/include' '--mandir=${exec-prefix}/share/man' '--infodir=${exec-prefix}/share/info' diff -urN ../tmp-orig/3dwm-0.3.1/src/Polhem/Platform.cc ./src/Polhem/Platform.cc --- ../tmp-orig/3dwm-0.3.1/src/Polhem/Platform.cc 2001-06-20 14:32:13.000000000 +0200 +++ ./src/Polhem/Platform.cc 2004-08-13 10:16:45.136502465 +0200 @@ -46,7 +46,7 @@ #elif defined(PLATFORM_SDL) # include "SDLPlatform.cc" -SDLPlatform *Platform::t = 0; +template <> SDLPlatform *Platform::t = 0; #elif defined(PLATFORM_SDL_FBCON) # include "SDLfbconPlatform.cc" @@ -63,4 +63,4 @@ #endif // Reaper struct (takes care of deallocating the implementation when done) -Platform::Reaper Platform::reaper; +template <> Platform::Reaper Platform::reaper; --------------------------------------- Received: (at 265448-done) by bugs.debian.org; 16 Mar 2005 12:46:57 +0000 >From [EMAIL PROTECTED] Wed Mar 16 04:46:56 2005 Return-path: <[EMAIL PROTECTED]> Received: from sorrow.cyrius.com [65.19.161.204] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DBXvL-0000ka-00; Wed, 16 Mar 2005 04:46:55 -0800 Received: by sorrow.cyrius.com (Postfix, from userid 10) id 02C6C64D40; Wed, 16 Mar 2005 12:46:55 +0000 (UTC) Received: by deprecation.cyrius.com (Postfix, from userid 1000) id 873284EDA4; Wed, 16 Mar 2005 12:46:38 +0000 (GMT) Date: Wed, 16 Mar 2005 12:46:38 +0000 From: Martin Michlmayr <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: 3dwm removed Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i 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=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 5 3dwm has been removed from Debian unstable because it is no longer maintained upstream and (apparently) not used. Yeah, http://www.3dwm.org just times out... -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]