Package: muse
Severity: normal
Tags: patch

With gcc-3.4/gcc/4.0, I get:

synth.cpp: In function `void initMidiSynth()':
synth.cpp:337: error: array bound forbidden after parenthesized type-id

The following patch allows muse to compile with gcc-3.4.


--- synti/synth.cpp.orig        2005-07-11 23:36:07.000000000 -0700
+++ synti/synth.cpp     2005-07-11 23:36:09.000000000 -0700
@@ -334,7 +334,7 @@
             nsynthis = list->count();
             if (debugMsg)
                   printf("%d soft synth found\n", nsynthis);
-            synthis  = new (Synth*)[nsynthis];
+            synthis  = new Synth*[nsynthis];
             QFileInfoListIterator it(*list);
             QFileInfo* fi;
             int i = 0;



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-perfctr-2.6.13-bmc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


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

Reply via email to