This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris build failure because of wchar_t handling?
- To: gcc at gcc dot gnu dot org, jbuck at racerx dot synopsys dot com
- Subject: Re: Solaris build failure because of wchar_t handling?
- From: Mike Stump <mrs at windriver dot com>
- Date: Fri, 10 Nov 2000 17:10:00 -0800 (PST)
> 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.