Closed Bug 63772 Opened 24 years ago Closed 24 years ago

Build problem under Solaris

Categories

(SeaMonkey :: Build Config, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 21138

People

(Reporter: jim_nance, Assigned: scc)

Details

I am trying to build mozilla under Solaris 7 using the Workshop 6.0
compilers.  I am getting some fatal errors from the C++ compiler:

nsAtomTable.cpp
"nsAtomTable.cpp", line 63: Warning (Anachronism): Formal argument f of type
extern "C" int(*)(PLHashEntry*,int,void*) in call to
PL_HashTableEnumerateEntries(PLHashTable*, extern "C"
int(*)(PLHashEntry*,int,void*), void*) is being passed
int(*)(PLHashEntry*,int,void*).
"../../dist/include/nsAlgorithm.h", line 76: Error: Formal argument iter of type
unsigned short**& in call to static nsCharSinkTraits<unsigned
short*>::write(unsigned short**&, unsigned short*const*, unsigned) is being
passed unsigned short*.
"nsAtomTable.cpp", line 113:     Where: While instantiating
"copy_string<nsReadingIterator<unsigned short>, unsigned
short*>(nsReadingIterator<unsigned short>&, const nsReadingIterator<unsigned
short>&, unsigned short*&)".
"nsAtomTable.cpp", line 113:     Where: Instantiated from non-template code.
"../../dist/include/nsAlgorithm.h", line 76: Error: Formal argument s of type
unsigned short*const* in call to static nsCharSinkTraits<unsigned
short*>::write(unsigned short**&, unsigned short*const*, unsigned) is being
passed const unsigned short*.
"nsAtomTable.cpp", line 113:     Where: While instantiating
"copy_string<nsReadingIterator<unsigned short>, unsigned
short*>(nsReadingIterator<unsigned short>&, const nsReadingIterator<unsigned
short>&, unsigned short*&)".
"nsAtomTable.cpp", line 113:     Where: Instantiated from non-template code.
2 Error(s) and 1 Warning(s) detected.
adding some unix gurus to the bug.

*** This bug has been marked as a duplicate of 21138 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as dup of bug 21138 - Compilation of src with Sun Workshop 6 fails at 
various points...
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.