From owner-freebsd-current Mon Jul 8 19:27:14 2002 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 B2D8637B400 for ; Mon, 8 Jul 2002 19:27:11 -0700 (PDT) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 769CE43E09 for ; Mon, 8 Jul 2002 19:27:11 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0460.cvx22-bradley.dialup.earthlink.net ([209.179.199.205] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 17Rkia-0006Rq-00; Mon, 08 Jul 2002 22:27:09 -0400 Message-ID: <3D2A49D2.7AF1DB5F@mindspring.com> Date: Mon, 08 Jul 2002 19:26:26 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: ticso@cicely.de Cc: freebsd-current@freebsd.org Subject: Re: stdlib.h wchar_t problem References: <20020709020950.GS94279@cicely5.cicely.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bernd Walter wrote: > The system g++ 3.1 complains that stdlib.h typedefs wchar_t: > /usr/include/stdlib.h:57: redeclaration of C++ built-in type `wchar_t' I posted a patch for this already, based on Garrett Wollman's point about where theings are defined (actually, it requires a non-definition one up from the one Garrett noted as the problem). I suspect you need to update your headers; the relevent header after install is /usr/include/machine/ansi.h. Before install, it depends on your architecture, since it's an architecture specific files that get installed into /usr/include/machine. Most likely you just haven't done the "make install" in the directory /usr/src/include... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message