Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!xpat.postech.ac.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!primus.ac.net!news.serv.net!solaris.cc.vt.edu!news.mathworks.com!news.kei.com!nntp.coast.net!howland.reston.ans.net!ix.netcom.com!netcom.com!kientzle From: kientzle@netcom.com Subject: Re: conflicting types for `wchar_t' Message-ID: <kientzleDM0HBA.6pE@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <4eijt4$5sa@dali.cs.uni-magdeburg.de> Date: Tue, 30 Jan 1996 20:37:58 GMT Lines: 41 Sender: kientzle@netcom7.netcom.com In X11/Xlib.h, take a peek at the previous line: > > /* replace this with #include or typedef appropriate for your system */ > typedef unsigned long wchar_t; > I just followed the instructions... <grin> As for sys_errlist, just comment out the definition that causes the problem. - Tim In article <4eijt4$5sa@dali.cs.uni-magdeburg.de>, Roland Jesse <jesse@csmd.cs.UNI-Magdeburg.DE> wrote: >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 - >