User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8a4) Gecko/20040928 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8a4) Gecko/20040928 Building any of the mozilla and related reptiles on Solaris with the Sun Forte Compiler yeilds "nsCSSScanner.cpp", line 906: Error: nsSubstring::nsSubstring(const nsSubstring&) is not accessible from nsCSSScanner::SkipCComment(unsigned&). 1 Error(s) detected. gmake: *** [nsCSSScanner.o] Error 1 gmake: *** Waiting for unfinished jobs.... This is most likely due to the CVS checking yesterday for bug 261283 Reproducible: Always Steps to Reproduce: 1. Compilemozilla/thunderbird/firefox 2. 3. Actual Results: Build fails
I think that by "forte" Mitch means the latest Sun compiler release: Sun Studio 9. Mitch: am I right?
It's actually the Workshop 6.0u2 compilers. Don't know what the packaging name is though.
Sorry, my mistake. That is the (old) Forte compilers, then. Updating the Summmary to clarify.
Also seeing this (trying to build current CVS Mozilla Suite).
Created attachment 161876 [details] [diff] [review] Patch I'm fedup with no one fixing this even though this is a major blocker for testing solaris builds. I've fixed it myself. I believe this is the correct fix using C stringification and compiles fiferox/tbird/mozilla correctly. Alterantively for Solaris builds one can hack out the CSS_REPORT_PARSE_ERRORS nsCSSScanner.h which is clearly the wrong thing to do. Can someone confirm the fix on other platforms and sr/sr+ please and check in ? Thanx
confirmed the bug, that is, and the fix on Solaris/SPARC.
Comment on attachment 161876 [details] [diff] [review] Patch I don't get it. The code you're patching doesn't exist anymore and was never turned on.
Er, oh, never mind. I didn't know that code was there. It shouldn't be.
Created attachment 161882 [details] [diff] [review] patch
Comment on attachment 161882 [details] [diff] [review] patch r+sr=bzbarsky
Fix checked in to trunk, 2004-10-12 11:44 -0700.