Package: afterstep
Severity: normal
Tags: patch

When building 'afterstep' on amd64 with gcc-4.0,
I get the following error:

gcc -O2 -g -Wall -DNO_DEBUG_OUTPUT     -c ASDocGen.c
In file included from ASDocGen.c:23:
../../libAfterStep/asapp.h:282: error: array type has incomplete element type
ASDocGen.c: In function 'main':
ASDocGen.c:276: warning: cast to pointer from integer of different size
make[2]: *** [ASDocGen.o] Error 1
make[2]: Leaving directory 
`/afterstep-2.00.03dfsg/debian/STATIC-BUILD/src/ASDocGen'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/afterstep-2.00.03dfsg/debian/STATIC-BUILD'
make: *** [build-stamp] Error 2

With the attached patch 'afterstep' can be compiled with gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/afterstep-2.00.03dfsg/libAfterStep/asapp.h 
./libAfterStep/asapp.h
--- ../tmp-orig/afterstep-2.00.03dfsg/libAfterStep/asapp.h      2005-01-27 
00:36:42.000000000 +0100
+++ ./libAfterStep/asapp.h      2005-03-15 10:12:58.420895965 +0100
@@ -46,6 +46,7 @@
 #endif
 
 #include "functions.h"
+#include "parser.h"
 
 #ifdef __cplusplus
 extern "C" {


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

Reply via email to