[PATHC] xdelta-1.1.3 fails to compile with gcc-4.1.1

Auke Kok sofar at foo-projects.org
Thu Jun 15 05:27:42 UTC 2006


Hi,

apart from tons of warnings of comparison between unsigned and signed vars, it 
dies on:

xdmain.c: At top level:
xdmain.c:1444: error: static declaration of 'xd_handle_table' follows 
non-static declaration
xdmain.c:67: error: previous declaration of 'xd_handle_table' was here


here's the fix:

--- xdmain.c-org        2006-06-14 22:20:12.000000000 -0700
+++ xdmain.c    2006-06-14 22:21:20.000000000 -0700
@@ -64,7 +64,7 @@

  #include "xdelta.h"

-extern HandleFuncTable xd_handle_table;
+static HandleFuncTable xd_handle_table;

  #define XD_PAGE_SIZE (1<<20)



I hope you can release a bugfix and rub off the beatymarks. xdelta-1.1.x is 
still used widely and a maintenance release would be appreciated. debian is 
packing the same fix for instance 
(http://ftp.debian.org/debian/pool/main/x/xdelta/xdelta_1.1.3-6.1.diff.gz)

Cheers,

Auke






More information about the Lunar-dev mailing list