Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 1996 15:46:12 +0100 (MEZ)
From:      Roland Jesse <jesse@csmd.cs.Uni-Magdeburg.DE>
To:        freebsd-questions@freebsd.org
Subject:   conflicting types for `wchar_t'
Message-ID:  <199601291449.GAA06245@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Subject: conflicting types for `wchar_t'
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Univ. of Magdeburg, CS Dept, Germany
Summary: 
Keywords: 
X-Newsreader: TIN [version 1.2 PL2]

How may I avoid the error that `wchar_t' is previous declared when in 
/usr/X11R6/include/X11/Xlib.h is this line:

typedef unsigned long wchar_t;

and in /usr/include/stdlib.h this one:

typedef _BSD_WCHAR_T_   wchar_t; 

???


Both header files are needed. So how to avoid this error?
(BTW: same procedure with `sys_errlist'...)

Thanks for any help.

--
Roland (rj,-) Jesse, stud.rer.nat. et phil.
URL: http://www.cs.uni-magdeburg.de/~jesse/
E-Mail: jesse@csmd.cs.uni-magdeburg.de
 - pgp encrypted mail preferred - 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601291449.GAA06245>