|
Post by Dennis Passmore on Jan 15, 2004 10:21:08 GMT -5
Why do I see the following warnings when compiling v304 with Delphi 7 and "zlib121" defined?
kpUnzipp.Pas(1344) VCLUnZip.pas(3091) Warning: Bad global symbol definition: '_z_errmsg' in object file 'C:\Projects\Common\VclZip Pro\src\zlib121\zutil.obj' VCLUnZip.pas(3091) Warning: Bad global symbol definition: '@zcalloc' in object file 'C:\Projects\Common\VclZip Pro\src\zlib121\zutil.obj' VCLUnZip.pas(3091) Warning: Bad global symbol definition: '@zcfree' in object file 'C:\Projects\Common\VclZip Pro\src\zlib121\zutil.obj' VCLUnZip.pas(3094)
|
|
|
Post by Kevin on Jan 15, 2004 11:32:40 GMT -5
Not sure. I don't remember ever seeing those. I'll play with it tonight and see if I do get them.
Does it work ok when you do link in 1.2.1?
|
|
|
Post by Kevin on Jan 15, 2004 18:40:08 GMT -5
Dennis,
Actually it turns out that the link to zutil.obj is not needed at all. You can go into VCLUNZIP.PAS to line 495 and remove
{$L zlib121\zutil.obj}
and that will get rid of the warnings.
Kevin
|
|
|
Post by Dennis Passmore on Jan 16, 2004 9:06:47 GMT -5
That works.
Thanks for the good support.
|
|
|
Post by Kevin on Jan 16, 2004 10:48:30 GMT -5
Also, you might be interested to know that FastZLib object files are now available for zlib 1.2.1. They weren't available when I built the object files included with the VCLZip distribution. So if you like to use the FastZLib object files they can be found at: www.dellapasqua.com/delphizlib/Just replace the ones in the zlib121 subdirectory with these. It should work fine.
|
|