Your message dated Wed, 28 Dec 2005 08:56:03 +0100
with message-id <[EMAIL PROTECTED]>
and subject line brahms: FTBFS
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; 18 Aug 2004 15:51:08 +0000
>From [EMAIL PROTECTED] Wed Aug 18 08:51:08 2004
Return-path: <[EMAIL PROTECTED]>
Received: from b104194.adsl.hansenet.de (localhost) [62.109.104.194]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BxSiS-0001aB-00; Wed, 18 Aug 2004 08:51:08 -0700
Received: from aj by localhost with local (Exim 4.34)
id 1BxSij-0001oT-04; Wed, 18 Aug 2004 17:51:25 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: brahms: FTBFS with gcc-3.4: array bound forbidden after parenthesized
type-id
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 18 Aug 2004 17:51:25 +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: brahms
Severity: normal
Tags: patch
When building 'brahms' with gcc-3.4 I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/kde -I/usr/include/qt3
-I/usr/X11R6/include -I../../../brahms/core -I../../../brahms
-UQT_NO_ASCII_CAST -O2 -Wno-deprecated -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -Wp,-MD,.deps/qtScoreSymbols.pp -c qtScoreSymbols.cpp
-fPIC -DPIC -o .libs/qtScoreSymbols.o
qtScoreSymbols.cpp: In constructor `QtSymbols::QtSymbols(PrScoreEditor*,
QPixmap*, int&, int, int, const char*, int)':
qtScoreSymbols.cpp:20: error: array bound forbidden after parenthesized type-id
qtScoreSymbols.cpp:20: note: try removing the parentheses around the type-id
make[5]: *** [qtScoreSymbols.lo] Error 1
make[5]: Leaving directory `/brahms-1.02-kde3/brahms/presentations/kde'
With the attached patch 'brahms' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/brahms-1.02-kde3/brahms/addons/Riemann/harmony.cpp
./brahms/addons/Riemann/harmony.cpp
--- ../tmp-orig/brahms-1.02-kde3/brahms/addons/Riemann/harmony.cpp
2002-01-07 00:35:46.000000000 +0100
+++ ./brahms/addons/Riemann/harmony.cpp 2004-08-18 17:00:03.086872409 +0200
@@ -45,7 +45,7 @@
void Harmony::analyse() {
// cout << endl << "ANALYSE: " << endl << sKey[_base_key] << " (" <<
sGenus[_base_gen] << ") " << sKey[_key] << " (" << sGenus[_genus] << ") : " <<
_chord;
- for (Key s=UNDEFKEY; s<KEY; ((int) s)++) {
+ for (Key s=UNDEFKEY; s<KEY; (Key)(((int) s) + 1)) {
_maj[s] = 0;
_min[s] = 0;
_dim[s] = 0;
@@ -72,7 +72,7 @@
Key mykey = UNDEFKEY;
Genus mygen = UNDEFGEN;
- for (Key k=GES; k<KEY; ((int)k)++) {
+ for (Key k=GES; k<KEY; (Key)(((int)k) + 1)) {
if (max < _maj[k]) { max = _maj[k]; mykey = k; mygen = MAJOR; }
if (max < _min[k]) { max = _min[k]; mykey = k; mygen = MINOR; }
if (max < _dim[k]) { max = _dim[k]; mykey = k; mygen = DIMINISHED; }
diff -urN ../tmp-orig/brahms-1.02-kde3/brahms/addons/Riemann/riemannEvent.cpp
./brahms/addons/Riemann/riemannEvent.cpp
--- ../tmp-orig/brahms-1.02-kde3/brahms/addons/Riemann/riemannEvent.cpp
2002-01-07 00:35:46.000000000 +0100
+++ ./brahms/addons/Riemann/riemannEvent.cpp 2004-08-18 16:58:25.325734361
+0200
@@ -72,14 +72,14 @@
Key RiemannEvent::key(const char * k) {
Key key = UNDEFKEY;
- for (Key i=UNDEFKEY; i<KEY; ((int) i)++)
+ for (Key i=UNDEFKEY; i<KEY; i = (Key)(((int)i) + 1))
if (strcmp(k, sKey[i])==0) key = i;
return key;
}
Genus RiemannEvent::genus(const char * g) {
Genus genus = UNDEFGEN;
- for (Genus i=UNDEFGEN; i<GENUS; ((int) i)++)
+ for (Genus i=UNDEFGEN; i<GENUS; (Key)(((int)i) + 1))
if (strcmp(g, sGenus[i])==0) genus = i;
return genus;
}
diff -urN
../tmp-orig/brahms-1.02-kde3/brahms/presentations/kde/qtScoreSymbols.cpp
./brahms/presentations/kde/qtScoreSymbols.cpp
--- ../tmp-orig/brahms-1.02-kde3/brahms/presentations/kde/qtScoreSymbols.cpp
2002-01-07 00:35:46.000000000 +0100
+++ ./brahms/presentations/kde/qtScoreSymbols.cpp 2004-08-18
16:47:08.473631521 +0200
@@ -17,7 +17,7 @@
rows = int(total/cols);
if (cols*rows<total) rows++;
- button = new (QPushButton *) [total];
+ button = new QPushButton * [total];
setCaption(name);
// KIconLoader *loader = KGlobal::iconLoader();
---------------------------------------
Received: (at 266657-done) by bugs.debian.org; 28 Dec 2005 07:56:13 +0000
>From [EMAIL PROTECTED] Tue Dec 27 23:56:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from e176043018.adsl.alicedsl.de ([85.176.43.18] helo=kat.ainf.net)
by spohr.debian.org with esmtp (Exim 4.50)
id 1ErWAP-0003TA-FR
for [EMAIL PROTECTED]; Tue, 27 Dec 2005 23:56:13 -0800
Received: from aj by kat.ainf.net with local (Exim 4.54)
id 1ErWAF-000683-Fg; Wed, 28 Dec 2005 08:56:03 +0100
To: [EMAIL PROTECTED]
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: brahms: FTBFS
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 28 Dec 2005 08:56:03 +0100
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
X-CrossAssassin-Score: 23
The package has been removed from unstable.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]