Phil I know to fix the ../../include/zipstring.h:128: warning: base class 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' should be explicitly initialized in the copy constructor
it on my external drive, i'll commit tommorow Regards Luiz ----- Original Message ----- From: "Phil Krylov" <p...@newstar.rinet.ru> To: "Luiz Rafael Culik Guimaraes" <l...@xharbour.com.br> Cc: "xHarbour Developers Mailing List" <xharbour-developers@lists.sourceforge.net> Sent: Sunday, September 13, 2009 4:40 PM Subject: Re: [xHarbour-developers] ChangeLog 2009-09-13 05:40UTC+0300PhilKrylov <p...@newstar.rinet.ru> > Hi, > > On Sun, Sep 13, 2009 at 7:54 PM, Luiz Rafael Culik Guimaraes > <l...@xharbour.com.br> wrote: >> I only build binaries with make ( direct all becouse all hb_* envars is >> on >> my profile and make_rpm.sh > > make with variables already set up should work as good as make_gnu.sh. > Doesn't it? (without copying Linux/ZipFileMapping.sh as > zipfilemapping.sh). > > As for make_rpm.sh, I have no RPM-based Linux installations at hand, > but I guess that it also runs make internally and so should work OK. > > Any errors? > >> post the warning from gcc 4.3 ( send direct to my email) i know how to >> fix > > make: Entering directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib' > make[1]: Entering directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib/linux/gcc' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zip.c -ozip.o > ../../zip.c:103: warning: unused parameter 'szZipFileName' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../stdafx.cpp -ostdafx.o > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../ziparchive.cpp -oziparchive.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../ziparchive.cpp:21: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../ziparchive.cpp:21: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../ziparchive.cpp: In member function 'DWORD > CZipArchive::ReadFile(void*, DWORD)': > ../../ziparchive.cpp:339: warning: comparison of unsigned expression >>= 0 is always true > ../../ziparchive.cpp: At global scope: > ../../ziparchive.cpp:1148: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1162: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1176: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1189: warning: unused parameter 'iSmartLevel' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipautobuffer.cpp > -ozipautobuffer.o > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipcentraldir.cpp > -ozipcentraldir.o > In file included from ../../include/zipexception.h:36, > from ../../include/zipcentraldir.h:35, > from ../../zipcentraldir.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipcentraldir.cpp:21: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipcomp.cpp -ozipcomp.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../include/hbzip2.h:73, > from ../../zipcomp.cpp:54: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../include/hbzip2.h:73, > from ../../zipcomp.cpp:54: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../zipcomp.cpp: At global scope: > ../../zipcomp.cpp:70: warning: unused parameter 'iProgress' > ../../zipcomp.cpp:83: warning: unused parameter 'iProgress' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipcompatibility.cpp > -ozipcompatibility.o > In file included from ../../include/zipplatform.h:31, > from ../../zipcompatibility.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipexception.cpp > -ozipexception.o > In file included from ../../include/zipexception.h:36, > from ../../zipexception.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipfile.cpp -ozipfile.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../zipfile.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipfileheader.cpp > -ozipfileheader.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../include/zipstorage.h:31, > from ../../include/zipfileheader.h:32, > from ../../zipfileheader.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipfileheader.cpp:22: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipmemfile.cpp -ozipmemfile.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipmemfile.h:30, > from ../../zipmemfile.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../zipmemfile.cpp: In member function 'virtual DWORD > CZipMemFile::Seek(LONG, int)': > ../../zipmemfile.cpp:93: warning: comparison of unsigned expression < > 0 is always false > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipnew.cpp -ozipnew.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../include/hbzip2.h:73, > from ../../zipnew.cpp:54: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../include/hbzip2.h:73, > from ../../zipnew.cpp:54: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:76: warning: unused parameter 'iProgress' > ../../zipnew.cpp:90: warning: unused parameter 'iProgress' > ../../zipnew.cpp: In function '_HB_ITEM* hb___GetFileNamesFromZip(char*, > BOOL)': > ../../zipnew.cpp:274: warning: unused variable 'uAttr' > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:519: warning: unused parameter 'bCase' > ../../zipnew.cpp: In function 'int hb_UnzipSel(char*, _HB_ITEM*, BOOL, > char*, const char*, _HB_ITEM*, _HB_ITEM*)': > ../../zipnew.cpp:636: warning: comparison of unsigned expression >= 0 > is always true > ../../zipnew.cpp: In function 'int hb_UnzipSelIndex(char*, _HB_ITEM*, > BOOL, char*, char*, _HB_ITEM*, _HB_ITEM*)': > ../../zipnew.cpp:842: warning: comparison of unsigned expression >= 0 > is always true > ../../zipnew.cpp: In function 'DWORD GetCurrentFileSize(const char*)': > ../../zipnew.cpp:987: warning: unused variable 'ushbMask' > ../../zipnew.cpp:988: warning: unused variable 'usFileAttr' > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:1002: warning: unused parameter 'pDiskBlock' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipplatformcomm.cpp > -ozipplatformcomm.o > In file included from ../../include/zipplatform.h:31, > from ../../zipplatformcomm.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../zipstorage.cpp -ozipstorage.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../include/zipstorage.h:31, > from ../../zipstorage.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipstorage.cpp:20: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../ZipString.cpp -oZipString.o > In file included from ../../ZipString.cpp:18: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../Linux/ZipPathComponent.cpp > -oZipPathComponent.o > In file included from ../../include/zippathcomponent.h:29, > from ../../Linux/ZipPathComponent.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../Linux/ZipPathComponent.cpp: In member function 'void > CZipPathComponent::SetFullPath(const char*)': > ../../Linux/ZipPathComponent.cpp:40: warning: suggest a space before > ';' or explicit braces around empty body in 'while' statement > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -I../../Linux -I../.. -c ../../Linux/ZipPlatform.cpp > -oZipPlatform.o > In file included from ../../include/zipplatform.h:31, > from ../../Linux/ZipPlatform.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../Linux/ZipPlatform.cpp: In function 'CZipString > ZipPlatform::GetTmpFileName(const char*, DWORD)': > ../../Linux/ZipPlatform.cpp:74: warning: unused variable 'buf' > ../../Linux/ZipPlatform.cpp: At global scope: > ../../Linux/ZipPlatform.cpp:180: warning: unused parameter 'lpszFilePath' > ../../Linux/ZipPlatform.cpp:186: warning: unused parameter 'lpszPath' > ../../Linux/ZipPlatform.cpp:186: warning: unused parameter 'lpszLabel' > ../../Linux/ZipPlatform.cpp:192: warning: unused parameter 'buffer' > ../../Linux/ZipPlatform.cpp:192: warning: unused parameter 'bAnsiToOem' > ../../Linux/ZipPlatform.cpp: In function 'bool > ZipPlatform::RemoveFile(const char*, bool)': > ../../Linux/ZipPlatform.cpp:199: warning: suggest explicit braces to > avoid ambiguous 'else' > ../../Linux/ZipPlatform.cpp: In function 'bool > ZipPlatform::RenameFile(const char*, const char*, bool)': > ../../Linux/ZipPlatform.cpp:211: warning: suggest explicit braces to > avoid ambiguous 'else' > ../../Linux/ZipPlatform.cpp: At global scope: > ../../Linux/ZipPlatform.cpp:257: warning: unused parameter 'iShareMode' > ar cr libziparchive.a zip.o stdafx.o ziparchive.o zipautobuffer.o > zipcentraldir.o zipcomp.o zipcompatibility.o zipexception.o zipfile.o > zipfileheader.o zipmemfile.o zipnew.o zipplatformcomm.o zipstorage.o > ZipString.o ZipPathComponent.o ZipPlatform.o && ranlib libziparchive.a > || ( rm -f libziparchive.a && false ) > make[1]: Leaving directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib/linux/gcc' > make[1]: Entering directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib/linux/gcc_mt' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zip.c -ozip.o > ../../zip.c:103: warning: unused parameter 'szZipFileName' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../stdafx.cpp -ostdafx.o > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../ziparchive.cpp -oziparchive.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../ziparchive.cpp:21: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../ziparchive.cpp:21: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../ziparchive.cpp: In member function 'DWORD > CZipArchive::ReadFile(void*, DWORD)': > ../../ziparchive.cpp:339: warning: comparison of unsigned expression >>= 0 is always true > ../../ziparchive.cpp: At global scope: > ../../ziparchive.cpp:1148: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1162: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1176: warning: unused parameter 'iSmartLevel' > ../../ziparchive.cpp:1189: warning: unused parameter 'iSmartLevel' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipautobuffer.cpp -ozipautobuffer.o > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipcentraldir.cpp -ozipcentraldir.o > In file included from ../../include/zipexception.h:36, > from ../../include/zipcentraldir.h:35, > from ../../zipcentraldir.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipcentraldir.cpp:21: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipcomp.cpp -ozipcomp.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../include/hbzip2.h:73, > from ../../zipcomp.cpp:54: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../include/hbzip2.h:73, > from ../../zipcomp.cpp:54: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../zipcomp.cpp: At global scope: > ../../zipcomp.cpp:70: warning: unused parameter 'iProgress' > ../../zipcomp.cpp:83: warning: unused parameter 'iProgress' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipcompatibility.cpp -ozipcompatibility.o > In file included from ../../include/zipplatform.h:31, > from ../../zipcompatibility.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipexception.cpp -ozipexception.o > In file included from ../../include/zipexception.h:36, > from ../../zipexception.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipfile.cpp -ozipfile.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../zipfile.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipfileheader.cpp -ozipfileheader.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../include/zipstorage.h:31, > from ../../include/zipfileheader.h:32, > from ../../zipfileheader.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipfileheader.cpp:22: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipmemfile.cpp -ozipmemfile.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipmemfile.h:30, > from ../../zipmemfile.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../zipmemfile.cpp: In member function 'virtual DWORD > CZipMemFile::Seek(LONG, int)': > ../../zipmemfile.cpp:93: warning: comparison of unsigned expression < > 0 is always false > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipnew.cpp -ozipnew.o > In file included from ../../include/zipexception.h:36, > from ../../include/ziparchive.h:95, > from ../../include/hbzip2.h:73, > from ../../zipnew.cpp:54: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../include/hbzip2.h:73, > from ../../zipnew.cpp:54: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:76: warning: unused parameter 'iProgress' > ../../zipnew.cpp:90: warning: unused parameter 'iProgress' > ../../zipnew.cpp: In function '_HB_ITEM* hb___GetFileNamesFromZip(char*, > BOOL)': > ../../zipnew.cpp:274: warning: unused variable 'uAttr' > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:519: warning: unused parameter 'bCase' > ../../zipnew.cpp: In function 'int hb_UnzipSel(char*, _HB_ITEM*, BOOL, > char*, const char*, _HB_ITEM*, _HB_ITEM*)': > ../../zipnew.cpp:636: warning: comparison of unsigned expression >= 0 > is always true > ../../zipnew.cpp: In function 'int hb_UnzipSelIndex(char*, _HB_ITEM*, > BOOL, char*, char*, _HB_ITEM*, _HB_ITEM*)': > ../../zipnew.cpp:842: warning: comparison of unsigned expression >= 0 > is always true > ../../zipnew.cpp: In function 'DWORD GetCurrentFileSize(const char*)': > ../../zipnew.cpp:987: warning: unused variable 'ushbMask' > ../../zipnew.cpp:988: warning: unused variable 'usFileAttr' > ../../zipnew.cpp: At global scope: > ../../zipnew.cpp:1002: warning: unused parameter 'pDiskBlock' > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipplatformcomm.cpp -ozipplatformcomm.o > In file included from ../../include/zipplatform.h:31, > from ../../zipplatformcomm.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../zipstorage.cpp -ozipstorage.o > In file included from ../../include/zipabstractfile.h:25, > from ../../include/zipfile.h:26, > from ../../include/zipstorage.h:31, > from ../../zipstorage.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > In file included from ../../zipstorage.cpp:20: > ../../include/ziparchive.h: In constructor > 'CZipAddNewFileInfo::CZipAddNewFileInfo(CZipAbstractFile*, const > char*)': > ../../include/ziparchive.h:211: warning: 'CZipAddNewFileInfo::m_pFile' > will be initialized after > ../../include/ziparchive.h:137: warning: 'CZipString > CZipAddNewFileInfo::m_szFileNameInZip' > ../../include/ziparchive.h:122: warning: when initialized here > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../ZipString.cpp -oZipString.o > In file included from ../../ZipString.cpp:18: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../Linux/ZipPathComponent.cpp -oZipPathComponent.o > In file included from ../../include/zippathcomponent.h:29, > from ../../Linux/ZipPathComponent.cpp:19: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../Linux/ZipPathComponent.cpp: In member function 'void > CZipPathComponent::SetFullPath(const char*)': > ../../Linux/ZipPathComponent.cpp:40: warning: suggest a space before > ';' or explicit braces around empty body in 'while' statement > gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W > -fPIC -DHB_THREAD_SUPPORT -D_THREAD_SAFE -I../../Linux -I../.. -c > ../../Linux/ZipPlatform.cpp -oZipPlatform.o > In file included from ../../include/zipplatform.h:31, > from ../../Linux/ZipPlatform.cpp:20: > ../../include/zipstring.h: In copy constructor > 'CZipString::CZipString(const CZipString&)': > ../../include/zipstring.h:128: warning: base class 'struct > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>' should be explicitly initialized in the copy constructor > ../../Linux/ZipPlatform.cpp: In function 'CZipString > ZipPlatform::GetTmpFileName(const char*, DWORD)': > ../../Linux/ZipPlatform.cpp:74: warning: unused variable 'buf' > ../../Linux/ZipPlatform.cpp: At global scope: > ../../Linux/ZipPlatform.cpp:180: warning: unused parameter 'lpszFilePath' > ../../Linux/ZipPlatform.cpp:186: warning: unused parameter 'lpszPath' > ../../Linux/ZipPlatform.cpp:186: warning: unused parameter 'lpszLabel' > ../../Linux/ZipPlatform.cpp:192: warning: unused parameter 'buffer' > ../../Linux/ZipPlatform.cpp:192: warning: unused parameter 'bAnsiToOem' > ../../Linux/ZipPlatform.cpp: In function 'bool > ZipPlatform::RemoveFile(const char*, bool)': > ../../Linux/ZipPlatform.cpp:199: warning: suggest explicit braces to > avoid ambiguous 'else' > ../../Linux/ZipPlatform.cpp: In function 'bool > ZipPlatform::RenameFile(const char*, const char*, bool)': > ../../Linux/ZipPlatform.cpp:211: warning: suggest explicit braces to > avoid ambiguous 'else' > ../../Linux/ZipPlatform.cpp: At global scope: > ../../Linux/ZipPlatform.cpp:257: warning: unused parameter 'iShareMode' > ar cr libziparchivemt.a zip.o stdafx.o ziparchive.o zipautobuffer.o > zipcentraldir.o zipcomp.o zipcompatibility.o zipexception.o zipfile.o > zipfileheader.o zipmemfile.o zipnew.o zipplatformcomm.o zipstorage.o > ZipString.o ZipPathComponent.o ZipPlatform.o && ranlib > libziparchivemt.a || ( rm -f libziparchivemt.a && false ) > make[1]: Leaving directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib/linux/gcc_mt' > make: Leaving directory > `/home/phil/build/xharbour-clean11/xharbour/contrib/hbzlib' > > -- Ph. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers