Fabrizio Bertocci wrote:
I verified that the problem of zlib occur only on:
- Redhat 9
- Redhat Enterprise Linux 3
In both platform the gzwrite is declared as:
ZEXTERN int ZEXPORT gzwrite OF((gzFile file, const voidp buf,
unsigned len));
That *should* define the second argument as a const pointer, unless
there's some subtle bit of C89 and the "voidp" typedef that I'm missing.
Anyway, the problem with wireshark is that the build process report this
warning (treated as error) even if I did not specify in the 'configure'
the flag ' --enable-warnings-as-errors'.
That's not a bug, that's a feature; in 0.99.6, the default is to enable
warnings as errors, and you have to...
If I run 'configure' with '--disable-warnings-as-errors' I don't get
that compilation error, so it must be something in the configure script
that doesn't work quite well.
...explicitly request that they *not* be treated as errors.