Issue 5753 - Include files confilcts with STLPort4 header files
Summary: Include files confilcts with STLPort4 header files
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 7584
  Show dependency tree
 
Reported: 2002-06-12 11:39 UTC by Unknown
Modified: 2003-03-16 20:12 UTC (History)
2 users (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 Unknown 2002-06-12 11:39:15 UTC
OS: Red hat Linux 7.3
Module: autodoc

In autodoc module, there is a directory named utility in source/inc, 
and since autodoc use STLPort4, there also is a include file <utility>
When build autodoc, the include path will be 
   -I../../../source/inc -I <STLPort> ...
this make the directory <utility> goes fist, this will case some of 
STLPort header files failed. The autodoc can not be built due to 
this problem.
Comment 1 Unknown 2002-06-14 11:55:21 UTC
I cannot reproduce the problem - autodoc builds cleanly. 
Can you send us a concrete error message?  


Comment 2 simonbr 2002-09-08 21:30:30 UTC
I have the same error, but this time it is with the 1.0.1 sources and
with SuSE 7.3 (with additionally gcc 2.95.2 installed). Here is the
last part of dmake output:  

=============
Building project autodoc
=============
/home/simon/oo_1.0.1_src/autodoc/source/displa_i/idoc
------------------------------
Making: ../../../unxlngi3.pro/obj/api_file.obj
g++ -nostdinc -c -I. -I. -I../inc -I../../../source/inc -I../../../inc
-I../../../unx/inc -I../../../unxlngi3.pro/inc -I.
-I/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl
-I/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/external
-I/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc
-I/home/simon/oo_1.0.1_src/solenv/unxlngi3/inc
-I/home/simon/oo_1.0.1_src/solenv/inc -I/home/simon/oo_1.0.1_src/res
-I/usr/include
-I/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl
-I/home/simon/oo_1.0.1_src/solenv/inc/Xp31
-I/home/simon/jdk1.3.1_04/include
-I/home/simon/jdk1.3.1_04/include/linux
-I/home/simon/jdk1.3.1_04/include/native_threads/include
-I/usr/X11R6/include
-I/usr/local/gcc-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include
-I/usr/include     -I. -I../../../res -I. -O2   -pipe -mpentiumpro
-fno-for-scope -fpermissive -fexceptions  -frtti    -DLINUX -DUNX
-DVCL -DGCC -DC295 -DINTEL -DCVER=C295 -D_USE_NAMESPACE -DGLIBC=2
-DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc2 -DSUPD=641
-DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DMULTITHREAD  -w -o
../../../unxlngi3.pro/obj/api_file.o
/home/simon/oo_1.0.1_src/autodoc/source/displa_i/idoc/api_file.cxx
In file included from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl/stl/_ios.h:23,
                 from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl/stl/_istream.h:27,
                 from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl/iostream:30,
                 from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/cosv/csv_ostream.hxx:74,
                 from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/cosv/string.hxx:73,
                 from
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/cosv/csv_precomp.h:70,
                 from ../../../source/inc/precomp.h:74,
                 from
/home/simon/oo_1.0.1_src/autodoc/source/displa_i/idoc/api_file.cxx:62:
/home/simon/oo_1.0.1_src/solver/641/unxlngi3.pro/inc/stl/stl/_ios_base.h:25:
directory `../../../source/inc/utility' specified in #include
dmake:  Error code 1, while making
'../../../unxlngi3.pro/obj/api_file.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/home/simon/oo_1.0.1_src/autodoc/source/displa_i/idoc
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---

Comment 3 simonbr 2002-09-08 21:36:21 UTC
see also #5863?
Comment 4 foskey 2002-09-08 23:22:01 UTC
This problem is for GCC 2.95 only.   gcc 3.0 correctly recognises
utility as a directory and ignores that particular path.  gcc 2.95 see
the directory and crashes teh compile without searching further.
Comment 5 foskey 2002-09-09 15:45:10 UTC
The temporary fix is to rename the utility directory under autodoc to
something else, build and then rename back again.  This solves the
immediate problem.
Comment 6 foskey 2002-12-13 12:11:25 UTC
REsolved on teh OO643C branch
Comment 7 michael.bemmer 2003-03-16 20:08:34 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.
Comment 8 michael.bemmer 2003-03-16 20:12:22 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.