/home/vijay/ooo_SRC680_m125_src/package/source/zippackage
------------------------------
Making: ../../unxlngi4.pro/slo/ZipPackage.obj
g++ -Wuninitialized -fmessage-length=0 -c -I. -I../../unxlngi4.pro/inc -I../inc -I../../inc -I../../unx/inc -I../../unxlngi4.pro/inc -I. -I/home/vijay/ooo_SRC680_m125_src/solver/680/unxlngi4.pro/inc/stl -I/home/vijay/ooo_SRC680_m125_src/solver/680/unxlngi4.pro/inc/external -I/home/vijay/ooo_SRC680_m125_src/solver/680/unxlngi4.pro/inc -I/home/vijay/ooo_SRC680_m125_src/solenv/unxlngi4/inc -I/home/vijay/ooo_SRC680_m125_src/solenv/inc -I/home/vijay/ooo_SRC680_m125_src/res -I/home/vijay/ooo_SRC680_m125_src/solver/680/unxlngi4.pro/inc/stl -I/home/vijay/ooo_SRC680_m125_src/solenv/inc/Xp31 -I/usr/lib/j2sdk1.4-sun/include -I/usr/lib/j2sdk1.4-sun/include/linux -I/usr/lib/j2sdk1.4-sun/include/native_threads/include -I/usr/X11R6/include -I. -I../../res -I. -O1 -pipe -mcpu=pentiumpro -Wno-ctor-dtor-privacy -include preinclude.h -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/include/c++/3.3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngi4.pro/slo/ZipPackage.o /home/vijay/ooo_SRC680_m125_src/package/source/zippackage/ZipPackage.cxx
In file included from /home/vijay/ooo_SRC680_m125_src/package/source/zippackage/ZipPackage.cxx:74:
../../inc/ZipPackageFolder.hxx: In member function `void ZipPackageFolder::setRemoveOnInsertMode_Impl(unsigned char)':
../../inc/ZipPackageFolder.hxx:124: error: invalid pointer to bit-field `ZipPackageEntry::mbAllowRemoveOnInsert'
dmake: Error code 1, while making '../../unxlngi4.pro/slo/ZipPackage.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /home/vijay/ooo_SRC680_m125_src/package/source/zippackage
I guess the problem is probably caused by the use of gcc-3.3, the same error on linux with gcc 3.2. This was introduced between m116 and m117.
This is the fix for the problem.
diff -ur package/inc/ZipPackageFolder.hxx package_new/inc/ZipPackageFolder.hxx
--- package/inc/ZipPackageFolder.hxx 2005-07-12 14:28:10.000000000 +0200
+++ package_new/inc/ZipPackageFolder.hxx 2005-07-14 17:30:52.000000000 +0200
@@ -121,7 +121,7 @@
}
void setPackageFormat_Impl( sal_Bool bPackageFormat ) { m_bPackageFormat = bPackageFormat; }
- void setRemoveOnInsertMode_Impl( sal_Bool bRemove ) { ZipPackageEntry::mbAllowRemoveOnInsert = bRemove; }
+ void setRemoveOnInsertMode_Impl( sal_Bool bRemove ) { this->mbAllowRemoveOnInsert = bRemove; }
// Recursive functions
void saveContents(rtl::OUString &rPath, std::vector < com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > > &rManList, ZipOutputStream & rZipOut, com::sun::star::uno::Sequence < sal_Int8 > &rEncryptionKey, rtlRandomPool & rRandomPool)
diff -ur package/source/zippackage/ZipPackageFolder.cxx
package_new/source/zippackage/ZipPackageFolder.cxx
--- package/source/zippackage/ZipPackageFolder.cxx 2005-07-12 14:31:33.000000000 +0200
+++ package_new/source/zippackage/ZipPackageFolder.cxx 2005-07-14 17:31:14.000000000 +0200
@@ -128,7 +128,7 @@
{
OSL_ENSURE( m_xFactory.is(), "No factory is provided to the package folder!" );
- ZipPackageEntry::mbAllowRemoveOnInsert = bAllowRemoveOnInsert;
+ this->mbAllowRemoveOnInsert = bAllowRemoveOnInsert;
SetFolder ( sal_True );
aEntry.nVersion = -1;
diff -ur package/source/zippackage/ZipPackageStream.cxx package_new/source/zippackage/ZipPackageStream.cxx
--- package/source/zippackage/ZipPackageStream.cxx 2005-07-12 14:31:48.000000000 +0200
+++ package_new/source/zippackage/ZipPackageStream.cxx 2005-07-14 17:32:10.000000000 +0200
@@ -137,7 +137,7 @@
{
OSL_ENSURE( m_xFactory.is(), "No factory is provided to ZipPackageStream!\n" );
- ZipPackageEntry::mbAllowRemoveOnInsert = bAllowRemoveOnInsert;
+ this->mbAllowRemoveOnInsert = bAllowRemoveOnInsert;
SetFolder ( sal_False );
aEntry.nVersion = -1;
cheers.. happy building :-))
No comments:
Post a Comment