Skip to contentSkip to conversation

Alsa-tools-0.9.5 compilation breakage on gcc 3.3 (patch attached)

PATCH Arcady Genkin 1 participant 1 message Jul 15, 2003

lore
Share & tools
lore
#0 lore raw

Greetings:

Compilation of alsa-tools (0.9.4 and 0.9.5) breaks with gcc 3.3 because of the multi-line literals issue. Attached please find a patch by Jason Rhinelander <[email protected]> that fixes the trivial problem. For more info please see:

             http://bugs.gentoo.org/show_bug.cgi?id=22324

Many thanks,

Signature · 4 lines
Arcady Genkin

guilt is the cause of more disauders
than history's most obscene marorders (E.E. Cummings)
as10k1/as10k1.c +22 -23
@@ -43,29 +43,28 @@
 
 char version[]="As10k1 assembler version " VERSION;
 
-char help[]="
-Usage: as10k1 [option...] asmfile
-
-The as10k1 assembler is for the emu10k1 dsp processor
-found in Creative Lab's sblive series of sound cards.
-
-Author: Daniel Bertrand <[email protected]>
-
-Options:\n
-     -l [listfile]         Specify a listing file, default is none.
-     -o [emu10k1 file]     Specify an output file, default is based input,
-                           Substituting .asm to .emu10k1
-     -d [dbg_options...]   Turn on debug messages.
-            s              prints all symbols                
-            g              prints defined gprs
-            t              prints tram usage
-            i              prints instructions
-     -h                    Prints this message  
-     -v                    Prints version number. 
-
-This program is distributed under the GPL.
-
-";
+char help[]="\n"
+"Usage: as10k1 [option...] asmfile\n"
+"\n"
+"The as10k1 assembler is for the emu10k1 dsp processor\n"
+"found in Creative Lab's sblive series of sound cards.\n"
+"\n"
+"Author: Daniel Bertrand <[email protected]>\n"
+"\n"
+"Options:\n\n"
+"     -l [listfile]         Specify a listing file, default is none.\n"
+"     -o [emu10k1 file]     Specify an output file, default is based input,\n"
+"                           Substituting .asm to .emu10k1\n"
+"     -d [dbg_options...]   Turn on debug messages.\n"
+"            s              prints all symbols                \n"
+"            g              prints defined gprs\n"
+"            t              prints tram usage\n"
+"            i              prints instructions\n"
+"     -h                    Prints this message  \n"
+"     -v                    Prints version number. \n"
+"\n"
+"This program is distributed under the GPL.\n"
+"\n";
 
 //  cli==Command-Line Interface && !Creative Labs Inc.