Issue 11069 - autodoc fails to compile on IRIX w/ gcc-2.95.3
Summary: autodoc fails to compile on IRIX w/ gcc-2.95.3
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: ---
Assignee: nikolai.pretzell
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 06:16 UTC by nickb
Modified: 2003-02-03 10:03 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 nickb 2003-01-30 06:16:35 UTC
% dmake
------------------------------
Making: ../../../unxirgm.pro/obj/hfi_constgroup.obj
g++ -c -I. -I. -I../inc -I../../../source/inc -I../../../inc -I../../../unx/
inc -I../../../unxirgm.pro/inc -I. -I/build1/nickb/openoffice/workarea/OOO_S
TABLE_1/solver/641/unxirgm.pro/inc/stl -I/build1/nickb/openoffice/workarea/O
OO_STABLE_1/solver/641/unxirgm.pro/inc/external -I/build1/nickb/openoffice/w
orkarea/OOO_STABLE_1/solver/641/unxirgm.pro/inc -I/build1/nickb/openoffice/w
orkarea/OOO_STABLE_1/solenv/unxirgm/inc -I/build1/nickb/openoffice/workarea/
OOO_STABLE_1/solenv/inc -I/build1/nickb/openoffice/workarea/OOO_STABLE_1/res
 -I/build1/nickb/compilers/stlport-gcc-2.95.3/stlport -I/build1/nickb/openof
fice/workarea/OOO_STABLE_1/solenv/inc/Xp31 -I/build1/nickb/java_1.3/usr/java
/include -I/build1/nickb/java_1.3/usr/java/include/irix -I/build1/nickb/java
_1.3/usr/java/include/native_threads/include      -I. -I../../../res -I. -O2
   -w -fno-for-scope -fpermissive -fexceptions     -DIRIX -DUNX -DVCL -DGCC 
-DC295 -DMIPS -DCVER=C295 -D_USE_NAMESPACE -D_PTHREADS -DSTLPORT_VERSION=0x4
50  -D_USE_NAMESPACE=1 -D__DMAKE -DUNIX -DCPPU_ENV=gcc2 -DSUPD=641 -DBUILD=7
663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOL
AR_JAVA -DSRC641  -DMULTITHREAD  -w -o
../../../unxirgm.pro/obj/hfi_constgroup.o
/build1/nickb/openoffice/workarea/OOO_STABLE_1/autodoc/source/display/idl/hf
i_constgroup.cxx
/build1/nickb/openoffice/workarea/OOO_STABLE_1/autodoc/source/display/idl/hf
i_constgroup.cxx: In method `void HF_IdlConstGroup::Produce_byData(const
ary::idl::CodeEntity &) const':
/build1/nickb/openoffice/workarea/OOO_STABLE_1/autodoc/source/display/idl/hf
i_constgroup.cxx:138: `class
ary::StdConstIterator<ary::TypedId<ary::idl::CodeEntity> >' used where a
`bool' was expected
dmake:  Error code 1, while making
'../../../unxirgm.pro/obj/hfi_constgroup.obj'
---* TG_SLO.MK *---

A patch like:
Index: hfi_constgroup.cxx
===================================================================
RCS file: /cvs/oo/tools/autodoc/source/display/idl/hfi_constgroup.cxx,v
retrieving revision 1.1.12.1
diff -u -r1.1.12.1 hfi_constgroup.cxx
--- hfi_constgroup.cxx  27 Jan 2003 17:01:46 -0000      1.1.12.1
+++ hfi_constgroup.cxx  30 Jan 2003 05:20:11 -0000
@@ -135,7 +135,7 @@
     dyn_ce_list
         dpConstants;
     ary::idl::ifc_constgroup::attr::Get_Constants(dpConstants, i_ce);
-    if (*dpConstants)
+    if (*dpConstants!=NULL)
     {
         produce_Members( *dpConstants,
                          C_sList_Constants,

Keeps things moving.... but I'm pretty sure thats not correct.
Comment 1 Martin Hollmichel 2003-01-30 07:09:42 UTC
mh->np.
Comment 2 Martin Hollmichel 2003-01-30 12:41:00 UTC
I did a few missing commits, please update.
Comment 3 nickb 2003-01-30 22:32:13 UTC
Excellent! thanks! :-) (it works now)
Comment 4 nikolai.pretzell 2003-02-03 10:03:11 UTC
np: Was originated only in missing cvs commits on teh OOO_STABLE_1
branch, which are done now. 
As there is nothing really new, I close this.