I can't use gcc-4.1.1-51.fc6 to rebuild openoffice.org-2.0.4-5.5.10: g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -I. -I../../unxlngx6.pro/inc/accessibility -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/stl -I/export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/external -I/export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc -I/export/redhat/rpms/BUILD/OOD680_m5/solenv/unxlngx6/inc -I/export/redhat/rpms/BUILD/OOD680_m5/solenv/inc -I/export/redhat/rpms/BUILD/OOD680_m5/res -I/export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/stl -I/export/redhat/rpms/BUILD/OOD680_m5/solenv/inc/Xp31 -I/usr/lib/jvm/java-1.4.2-gcj/include -I/usr/include -I/export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/offuh -I. -I../../res -I. -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOD680=OOD680 -DSVX_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngx6.pro/slo/GraphCtlAccessibleContext.o /export/redhat/rpms/BUILD/OOD680_m5/svx/source/accessibility/GraphCtlAccessibleContext.cxx /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Type.h:473: warning: lowering visibility of 'const com::sun::star::uno::Type& getCppuType() [with T = short unsigned int]' to match its type /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.h:293: warning: lowering visibility of 'com::sun::star::uno::Any com::sun::star::uno::makeAny(const C&) [with C = bool]' to match its type /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.h:353: warning: lowering visibility of 'sal_Bool com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, C&) [with C = bool]' to match its type /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.h:356: warning: lowering visibility of 'sal_Bool com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const C&) [with C = bool]' to match its type /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const C&) [with C = bool]': /export/redhat/rpms/BUILD/OOD680_m5/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:285: warning: lowering visibility of 'sal_Bool com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const C&) [with C = bool]' to match its type ../../inc/svdobj.hxx: At global scope: ../../inc/svdobj.hxx:326: error: invalid pure specifier (only `= 0' is allowed) before ';' token dmake: Error code 1, while making '../../unxlngx6.pro/slo/GraphCtlAccessibleContext.obj' '---* tg_merge.mk *---' Which gcc was used to build openoffice.org-core-2.0.4-5.5.10? Is this a gcc regressions?
Can you provide preprocessed source? It might very well be OOo bug too, without preprocessed source hard to say. -5.5.0 was built with gcc-4.1.1-30.
I recognize this, the code was a pure virtual declaration of.. class bar { virtual foo() = NULL; instead of virtual foo() = 0; }; fixed upstream, I'll add a patch to FC-6 if we need to rebuild OOo for FC-6 again
openoffice.org-2.0.4.ooo71039.svx.purevirtual.patch, will be in next FC-6 respin
The date in the changelog entry is bad: %changelog * Mon Jan 15 2006 Caolan McNamara <caolanm> - 1:2.0.4-5.5.11 ^^^^^
I'll fix it when I build it, not a major priority at the moment
now in 2.0.4-5.5.17 in FC-6 updates