Package: xbuffy Severity: normal Tags: patch When building 'xbuffy' with gcc-3.4 I get the following error:
gcc -g -O2 -I. -c -o xbuffy.o xbuffy.c xbuffy.c: In function `CheckBox': xbuffy.c:245: warning: cast to pointer from integer of different size xbuffy.c: In function `UpdateBoxNumber': xbuffy.c:316: error: label at end of compound statement xbuffy.c: In function `PopupHeader': xbuffy.c:665: warning: cast to pointer from integer of different size make[1]: *** [xbuffy.o] Error 1 make[1]: Leaving directory `/xbuffy-3.3.bl.3' make: *** [build-stamp] Error 2 With the attached patch 'xbuffy' can be compiled using gcc-3.4. Regards Andreas Jochens diff -urN ../tmp-orig/xbuffy-3.3.bl.3/xbuffy.c ./xbuffy.c --- ../tmp-orig/xbuffy-3.3.bl.3/xbuffy.c 1998-07-01 12:53:44.000000000 +0200 +++ ./xbuffy.c 2004-07-17 12:09:55.540117871 +0200 @@ -305,7 +305,6 @@ fprintf(stderr, "Error executing led\n"); _exit(1); } - default: } } else