Solaris build failure because of wchar_t handling?

Mike Stump mrs@windriver.com
Fri Nov 10 17:10:00 GMT 2000


> From: Joe Buck <jbuck@racerx.synopsys.com>
> To: gcc@gcc.gnu.org
> Date: Fri, 10 Nov 2000 16:08:50 -0800 (PST)

> I tried to build today's CVS sources
> This is the Solaris-provided stdlib.h (why is this used unaltered?)
> and line 61 says

> #ifndef _WCHAR_T
> #define	_WCHAR_T
> typedef long wchar_t;	// line 61
> #endif

We need to arrange for fixinc to protect this or to arrange __WCHAR_T
to be defined.  If __cpluscplus is defined, we can't do it.


More information about the Gcc mailing list