On Tue, 13 Apr 2010, Szak�ts Viktor wrote: Hi,
> >> Maybe msvc ones can be suppressed with a #pragma? > > and setting _CRT_SECURE_NO_WARNINGS. > > Seem that all can be done in zutil.h and gzguts.h. > Can you do it? It's not very good to have 40KB of > warning in normal builds. Sorry but I do not have any version of MSVC installed and it does not work with WINE. I do not even know it's pragma parameters. > > BTW this version does not set -DZLIB_DLL when compiled as > > dynamic code. > Can you be more specific? I've been looking for ZLIB_DLL > trick in our own build code, but couldn't find any so to > me it looks the same as before. Can be I missed something. harbour/external/zlib/ChangeLog: 2008-08-05 21:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * harbour/source/hbzlib/zconf.h + Setting ZLIB_DLL if HB_DYNLIB is defined. Now I can see in harbour/ChangeLog that you removed it: 2008-08-06 22:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/hbzlib/zconf.h * Undone previous ZLIB_DLL related change, as it causes these warnings, when compiled with MSVS: hbzlib.obj : warning LNK4217: locally defined symbol _inflateEnd imported in function _hb_zlibUncompressedSize hbzlib.obj : warning LNK4217: locally defined symbol _inflate imported in function _hb_zlibUncompressedSize It was enough to force dllexport instead of dllimport in zconf.h when HB_DYNLIB argument is set to avoid above warnings. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour