From owner-freebsd-hackers Fri Apr 21 07:55:40 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA09018 for hackers-outgoing; Fri, 21 Apr 1995 07:55:40 -0700 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA08987 for ; Fri, 21 Apr 1995 07:54:20 -0700 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA21595 for hackers@freebsd.org; Fri, 21 Apr 1995 16:45:35 +0200 From: Luigi Rizzo Message-Id: <199504211445.QAA21595@labinfo.iet.unipi.it> Subject: wchar_t definition... To: hackers@FreeBSD.org Date: Fri, 21 Apr 1995 16:45:34 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1297 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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 ====================================================================