Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 1995 16:45:34 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hackers@FreeBSD.org
Subject:   wchar_t definition...
Message-ID:  <199504211445.QAA21595@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
This was on snap950322 with XFree86-3.1.

While compiling the stock xdvi (xdvk-1.18f) I got the following errors:

In file included from xdvi.h:22,
                 from config.h:43,
                 from xdvi.c:86:
/usr/X11R6/include/X11/Xlib.h:74: conflicting types for `wchar_t'
/usr/include/stdlib.h:50: previous declaration of `wchar_t'
In file included from xdvi.h:24,
                 from config.h:43,
                 from xdvi.c:86:
/usr/X11R6/include/X11/Xos.h:107: conflicting types for `sys_errlist'
/usr/include/stdio.h:244: previous declaration of `sys_errlist'
*** Error code 1

In file included from sfinternal.h:34,
                 from sfDraw.c:33:
/usr/X11R6/include/X11/Xos.h:107: conflicting types for `sys_errlist'
/usr/include/stdio.h:244: previous declaration of `sys_errlist'


and so on. Apart the obvious thing (fix the application), should we fix
the (XFree) header files so that they are consistent with ours ?

	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522
====================================================================



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