Bug#264173: xtrlock: FTBFS with gcc-3.4: label at end of compound statement
Package: xtrlock
Severity: normal
Tags: patch
When building 'xtrlock' with gcc-3.4 I get the following error:
gcc -O2 -g -DSHADOW_PWD -c -o xtrlock.o xtrlock.c
xtrlock.c: In function `main':
xtrlock.c:207: error: label at end of compound statement
make[1]: *** [xtrlock.o] Error 1
make[1]: Leaving directory `/xtrlock-2.0'
With the attached patch 'xtrlock' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/xtrlock-2.0/xtrlock.c ./xtrlock.c
--- ../tmp-orig/xtrlock-2.0/xtrlock.c 2002-09-01 06:46:29.000000000 +0200
+++ ./xtrlock.c 2004-08-07 14:34:11.501808518 +0200
@@ -203,7 +203,6 @@
break;
}
break;
- default:
}
}
loop_x:
Reply to: