Apache OpenOffice (AOO) Bugzilla – Issue 1658
Solaris 8/Intel - tools/source/fsys/dirent.cxx does not compile
Last modified: 2003-03-16 20:14:13 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.
Is this something like described in Bug 798?
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
added myself on cc list
As discussed with Armin, he thought these bug were closed, he sees all of them as verified.