export CC=/usr/gcc/4.3/bin/gcc
export CXX=/usr/gcc/4.3/bin/g++
Do not set CFLAGS, CXXFLAGS, LDFLAGS, unless it is necessary.

I don't have this problem on my box.
But I do have some other issues with gcc on Solaris, e.g. visibility "hidden" 
attribute unsupported, madvise is not declared, has to add -mimpure-text.
Also the debug build doesn't work, I guess it is a compiler bug.

Ginn

On Feb 8, 2011, at 6:59 AM, alan pae wrote:

> Getting farther.
> 
> http://pkg.opensolaris.org/dev/p5i/0/developer%2Fgcc%2Fgcc-43.p5i
> 
> Using 4.3.3 from the OpenSolaris dev repo and am now getting:
> 
> /build/mozilla-central/xpcom/io/nsILocalFile.idl:98: Error: unsigned const 
> declaration 'DELETE_ON_CLOSE' initialized with negative constant
> gmake[5]: *** [_xpidlgen/nsILocalFile.h] Error 1
> gmake[5]: Leaving directory `/build/mozilla-central/obj-debug/xpcom/io'
> 
> The only reference for this that I could find was a message I posted a couple 
> of years ago on OpenSolaris build 122 and Firefox 3.5.3. :-)
> 
> Thanks for any insights.
> 
> alan
> -- 
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss@opensolaris.org

_______________________________________________
desktop-discuss mailing list
desktop-discuss@opensolaris.org

Reply via email to