|if you see an error like this one when compiling zzip:|
gcc -DHAVE_CONFIG_H -I.. -I../.. -O2 -D_USE_MMAP -fomit-frame-pointer -Wall -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations -c `test -f ../../bins/zziptest.c || echo '../../bins/'`../../bins/zziptest.c
Note, the main changes are to insert:
#if __GNUC__+0 >= 3 && __GNUC_MINOR__+0 >= 3
Then change the line:
(char *)hdr += hdr->d_reclen;to read:
I_(char *, hdr, += hdr->d_reclen);the issue appears to be a casting issue, where the compiler wasn't letting the programmer do exactly what he wanted to. This issue has been known to occur on Fedora 8 boxes and some 64-bit OS machines.
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST