Issue 1658 - Solaris 8/Intel - tools/source/fsys/dirent.cxx does not compile
Summary: Solaris 8/Intel - tools/source/fsys/dirent.cxx does not compile
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 638
Hardware: PC Solaris
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-11 17:00 UTC by doehrm
Modified: 2003-03-16 20:14 UTC (History)
3 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 doehrm 2001-09-11 17:00:07 UTC
> uname -a
SunOS sun9 5.8 Generic_108529-10 i86pc i386 i86pc

> CC -V
CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109509-04 2001/07/11

CC  -w -c -temp=/tmp -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxsol
i3.pro/inc -I. -I/oo/oo_638B_src/sal/inc -I/oo/oo_638B_src/vos/inc  -I. -I/oo/oo
_638B_src/solver/638/unxsoli3.pro/inc -I/oo/oo_638B_src/solver/638/unxsoli3.pro/
inc/external -I/oo/oo_638B_src/solenv/unxsoli3/inc -I/oo/oo_638B_src/solenv/inc
-I/oo/oo_638B_src/res -I/usr/include -I/export/home/doehrm/STLport-4.0/stlport/S
C5  -I/opt/SUNWspro/include -I/oo/oo_638B_src/solenv/inc/Xp31 -I/usr/java1.2/inc
lude -I/usr/java1.2/include/solaris -I/usr/java1.2/include/native_threads/includ
e     -I. -I../../res -I. -O   -features=no%altspell,no%localfor -noex  -instanc
es=static -KPIC  -DSOLARIS -DUNX -DVCL -DC52 -DC52 -DINTEL -DUSE_PSPRINT -DTF_SV
DATA -DTF_UCB -DENABLEUNICODE -DTF_FILTER -DTF_CFGDATA -DTF_FILEURL -DCVER=C52 -
D_USE_NAMESPACE -D_PTHREADS -DSYSV -DSUN -DSUN4 -D_REENTRANT -D_POSIX_PTHREAD_SE
MANTICS -DSTLPORT_VERSION=400 -D_PTHREADS -D__DMAKE -DUNIX -DSUPD=638 -DBUILD=71
38 -DSOLAR_PLUGIN -DVCL -DSO3 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXC
EPTIONS_OFF -DGUI -DSOLAR_JAVA -DSRC638 -DBOOTSTRAPPER -DTF_ONE51 -DMULTITHREAD
 -o ../../unxsoli3.pro/obj/dirent.o /oo/oo_638B_src/tools/source/fsys/dirent.cxx
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 220: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 222: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 223: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 223: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 265: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 266: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 295: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 409: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 409: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 412: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 439: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 449: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 467: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 472: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 664: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 853: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 910: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 927: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 932: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 940: Error: Cannot cast fro
m const String to rtl::OUString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 942: Error: Cannot cast fro
m const String to rtl::OUString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 943: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 943: Error: The name String
 is ambiguous, String and rtl::String.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 966: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
"/oo/oo_638B_src/tools/source/fsys/dirent.cxx", line 983: Error: The name ByteSt
ring is ambiguous, ByteString and rtl::ByteString.
Compilation aborted, too many Error messages.
dmake:  Error code 1, while making '../../unxsoli3.pro/obj/dirent.obj'
---* TG_SLO.MK *---
Error 65280 occurred while making /oo/oo_638B_src/tools/source/fsys

I saw recently a discussion about applying patch -04 to the compiler but since 
this machine is used for other development too I had to patch.

This also happens with

> CC -V
CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15

Tree was fresh checked out with tag OO638B.
Comment 1 doehrm 2001-09-11 17:01:43 UTC
Is this something like described in Bug 798?
Comment 2 jens-heiner.rechtien 2001-09-12 12:13:35 UTC
Hi Markus,

the compiler patch 109509-04 is not supported in SRC638. Use the plain 
unpatched compiler for that one. 

This said it's easy to fix this particular problem: check out toplevel 
revision of string.hxx and ustring.hxx in sal/inc/rtl.

It won't enable you to build OOo SRC638 with this compiler, because 
there are many more changes neceassary. The patched compiler enforces 
exception specifications over inheritance hierarchies, that's 
something that none of our current compiler does. See the interface 
announce mailing list for more details

We'll currently in the process of fixing this stuff for SRC641.

Heiner
Comment 3 jens-heiner.rechtien 2001-09-12 12:22:15 UTC
added myself on cc list
Comment 4 michael.bemmer 2003-03-16 20:10:35 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.
Comment 5 michael.bemmer 2003-03-16 20:14:13 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.