Closed Bug 44334 Opened 25 years ago Closed 25 years ago

Compile fails on SunOS 5.8 INTEL with Forte 6.0

Categories

(SeaMonkey :: Build Config, defect, P3)

x86
Solaris
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: doehrm, Assigned: rayw)

Details

I'm trying to compile on SunOS 5.8 and I'm getting this: CC -library=iostream -o nsString.o -c -DOSTYPE=\"SunOS5\" -DOJI -D_IMPL_NS_COM - D_IMPL_NS_BASE -I../../dist/include -I../../include -KPIC -mt -O -DNDE BUG -DTRIMMED -DMOZILLA_CLIENT -DBROKEN_QSORT=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES= 1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DSTDC_HEADERS= 1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_ UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_ H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_X11_EXTENSIONS_XSHM_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_ SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1 -DHAVE_LIBD L=1 -DHAVE_LIBRESOLV=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_LIBELF=1 -DHAVE _LIBINTL=1 -DHAVE_LIBPOSIX4=1 -DHAVE_LIBW=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAV E_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -D HAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1 -DHAVE_USLEEP=1 -DHAVE_GETT IMEOFDAY=1 -DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAV E_OSTREAM=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1 -DHAVE_CPP_MODERN_ SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCE SS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_ STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DHAVE_CPP_DY NAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_I18N_LC_MESS AGES=1 -DMOZ_MAIL_NEWS=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DMOZ_USER_DIR=\ ".mozilla\" -DMOZ_MATHML=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS =1 -DJS_THREADSAFE=1 -DLAYERS=1 nsString.cpp "nsAlgorithm.h", line 72: Error: Formal argument iter of type char**& in call to static nsCharSinkTraits<char*>::write(char**&, char*const*, unsigned) is being passed char*. "nsAWritableString.h", line 537: Where: While instantiating "copy_string<nsR eadingIterator<char>, char*>(nsReadingIterator<char>, nsReadingIterator<char>, c har*)". "nsAWritableString.h", line 537: Where: Instantiated from basic_nsAWritableS tring<char>::AppendFromPromise(const basic_nsAReadableString<char>&). "nsAWritableString.h", line 522: Where: Instantiated from basic_nsAWritableS tring<char>::AppendFromReadable(const basic_nsAReadableString<char>&). "nsAWritableString.h", line 306: Where: Instantiated from non-template code. "nsAlgorithm.h", line 72: Error: Formal argument s of type char*const* in call t o static nsCharSinkTraits<char*>::write(char**&, char*const*, unsigned) is being passed const char*. "nsAWritableString.h", line 537: Where: While instantiating "copy_string<nsR eadingIterator<char>, char*>(nsReadingIterator<char>, nsReadingIterator<char>, c har*)". "nsAWritableString.h", line 537: Where: Instantiated from basic_nsAWritableS tring<char>::AppendFromPromise(const basic_nsAReadableString<char>&). "nsAWritableString.h", line 522: Where: Instantiated from basic_nsAWritableS tring<char>::AppendFromReadable(const basic_nsAReadableString<char>&). "nsAWritableString.h", line 306: Where: Instantiated from non-template code. 2 Error(s) detected. gmake[3]: *** [nsString.o] Error 2 gmake[3]: Leaving directory `/home/doehrm/mozilla/xpcom/ds' gmake[2]: *** [install] Error 2 [doehrm@sun8 ~/mozilla]$ cat ~/.mozconfig mk_add_options MOZ_CVS_FLAGS=-q ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-optimize ac_add_options --enable-mathml I compiled with CC=cc CXX=CC gmake -f client.mk build_all [doehrm@sun8 ~/mozilla]$ what /opt/SUNWspro/WS6/bin/CC | grep -i workshop RELEASE VERSION Sun WorkShop 6 2000/04/07 C++ 5.1 Are there any knows issues here?
Setting QA contact to hong.
QA Contact: leger → hong
fixing component, can someone else on Solaris confirm this?
Component: XPCOM → Build Config
marking wfm on the assumption that the reporter would have kept up with this bug if it was still around (it's been 3 months with no further comment)
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.