Apache OpenOffice (AOO) Bugzilla – Issue 100412
autodoc: Warning error in autodoc/ary
Last modified: 2009-06-16 14:38:53 UTC
On Debian Lenny with gcc/4.3.2 --enable-werror Making: ../../../unxlngi6.pro/obj/usedtype.obj g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -I. -I../../../unxlngi6.pro/inc/ary_cpp -I../inc -I../../../source/inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/home/chris/OOo/DEV300_m43/solver/300/unxlngi6.pro/inc/stl -I/home/chris/OOo/DEV300_m43/solver/300/unxlngi6.pro/inc/external -I/home/chris/OOo/DEV300_m43/solver/300/unxlngi6.pro/inc -I/home/chris/OOo/DEV300_m43/solenv/unxlngi6/inc -I/home/chris/OOo/DEV300_m43/solenv/inc -I/home/chris/OOo/DEV300_m43/res -I/home/chris/OOo/DEV300_m43/solver/300/unxlngi6.pro/inc/stl -I/home/chris/OOo/DEV300_m43/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux -I/usr/lib/jvm/java-6-sun/include/native_threads/include -I/usr/include -I/home/chris/OOo/DEV300_m43/solver/300/unxlngi6.pro/inc/offuh -I. -I../../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Werror -frtti -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -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/include/c++/4.3 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../../unxlngi6.pro/obj/usedtype.o /home/chris/OOo/DEV300_m43/autodoc/source/ary/cpp/usedtype.cxx cc1plus: warnings being treated as errors /home/chris/OOo/DEV300_m43/autodoc/source/ary/cpp/usedtype.cxx: In member function 'void ary::cpp::UsedType::Connect2CeOnlyKnownViaBaseClass(const ary::cpp::Gate&)': /home/chris/OOo/DEV300_m43/autodoc/source/ary/cpp/usedtype.cxx:313: error: suggest parentheses around && within || dmake: Error code 1, while making '../../../unxlngi6.pro/obj/usedtype.obj'
probably best to remove the unused stuff before fixing the remaining warnings
I'll take this one
warning is still there after removing unused code, so...
done, logic unchanged, fits comment as to intent
taking over for verification
compiles without warning/error in CWS cmcfixes59
verified in DEV300_m50