From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 01:07:34 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1CE37B401; Mon, 2 Jun 2003 01:07:34 -0700 (PDT) Received: from plewe.is.tsukuba.ac.jp (plewe.is.tsukuba.ac.jp [130.158.81.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D9BF43F93; Mon, 2 Jun 2003 01:07:33 -0700 (PDT) (envelope-from till@plewe.is.tsukuba.ac.jp) Received: from plewe.is.tsukuba.ac.jp (localhost [127.0.0.1]) h5287lte031223; Mon, 2 Jun 2003 17:07:47 +0900 (JST) (envelope-from till@plewe.is.tsukuba.ac.jp) Received: (from till@localhost) by plewe.is.tsukuba.ac.jp (8.12.8/8.12.8/Submit) id h5287ltq031222; Mon, 2 Jun 2003 17:07:47 +0900 (JST) Date: Mon, 2 Jun 2003 17:07:47 +0900 From: Till Plewe To: stable@freebsd.org Message-ID: <20030602080747.GA79912@plewe.is.tsukuba.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i-ja.1 cc: current@freebsd.org Subject: curses header conflict (wchar_t,wint_t) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: till@score.is.tsukuba.ac.jp List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 08:07:35 -0000 When trying to install python2.3 on either stable or current the python curses module doesn't build. I get the following compiler complaints: STABLE (line numbers in brackets are from CURRENT) /usr/include/ncurses.h:236(289): conflicting types for `wchar_t' /usr/include/stdlib.h:58(57): previous declaration of `wchar_t' /usr/include/ncurses.h:239(292): conflicting types for `wint_t' /usr/include/wchar.h:89(96): previous declaration of `wint_t' Can somebody tell me the story of _WCHAR_T and _BSD_WCHAR_T, or tell me where I can find some hints? I found several long threads on seemingly related problems but haven't been enlightened yet. (One drastic fix is to remove the relevant lines from ncurses.h while building python.) - Till