[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280306: asd4: FTBFS (amd64/gcc-3.4): parse error before '}' token



Package: asd4
Severity: normal
Tags: patch

When building 'asd4' on amd64 with gcc-3.4 I get the following error:

gcc -O2 -Wall -g `glib-config --cflags glib gthread` `xml2-config --cflags` -DDEBUG -I../include -I../..//common   -c -o protocol-asd-impl.o protocol-asd-impl.c
protocol-asd-impl.c: In function `protocol_asd_STREAM_PLAY':
protocol-asd-impl.c:280: error: parse error before '}' token
protocol-asd-impl.c:507: error: parse error at end of input
protocol-asd-impl.c:507: confused by earlier errors, bailing out
make[3]: *** [protocol-asd-impl.o] Error 1
make[3]: Leaving directory `/asd4-0.2/daemon/protocols'

With the attached patch 'asd4' can be compiled on amd64 using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/asd4-0.2/daemon/protocols/protocol-asd-impl.c ./daemon/protocols/protocol-asd-impl.c
--- ../tmp-orig/asd4-0.2/daemon/protocols/protocol-asd-impl.c	2001-06-07 17:56:13.000000000 +0000
+++ ./daemon/protocols/protocol-asd-impl.c	2004-11-05 15:58:01.385990960 +0000
@@ -274,9 +274,9 @@
 	      return 1;
 	    }
       
-	pthread_cleanup_pop(1);
-	pthread_cleanup_pop(1);
       }
+      pthread_cleanup_pop(1);
+      pthread_cleanup_pop(1);
     }
 
   return 2;



Reply to: