This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Build failure on sysv5uw7.1.0: wchar_t typedefs in headers.
- To: RDBrown at mira dot net, RodneyBrown at mynd dot com
- Subject: Re: Build failure on sysv5uw7.1.0: wchar_t typedefs in headers.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 17 Jan 2001 16:29:22 -0800 (PST)
- cc: libstdc++ at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org
unixware is trying to declare wchar_t. This is bad.
You'll need to use fixincludes to deal with this, or make a
config/os/sco/bits/os_defines file that
#define _WCHAR_T 1
-benjamin
> /usr/include/sys/types.h
> 145
> 146 #ifndef _WCHAR_T
> 147 #define _WCHAR_T
> 148 typedef long wchar_t; /* wide character type */
> 149 #endif
> 150