Issue 100412 - autodoc: Warning error in autodoc/ary
Summary: autodoc: Warning error in autodoc/ary
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: DEV300m42
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: dtardon
QA Contact: issues@tools
URL:
Keywords:
Depends on: 86576
Blocks: 96084
  Show dependency tree
 
Reported: 2009-03-20 12:23 UTC by christian.lins
Modified: 2009-06-16 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description christian.lins 2009-03-20 12:23:33 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'
Comment 1 caolanm 2009-05-03 21:46:45 UTC
probably best to remove the unused stuff before fixing the remaining warnings
Comment 2 caolanm 2009-05-16 16:10:28 UTC
I'll take this one
Comment 3 caolanm 2009-05-16 16:11:11 UTC
warning is still there after removing unused code, so...
Comment 4 caolanm 2009-05-16 16:13:30 UTC
done, logic unchanged, fits comment as to intent
Comment 5 dtardon 2009-05-20 07:16:03 UTC
taking over for verification
Comment 6 dtardon 2009-05-20 09:27:18 UTC
compiles without warning/error in CWS cmcfixes59
Comment 7 dtardon 2009-06-16 14:38:53 UTC
verified in DEV300_m50