Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 16:08:52 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        ticso@cicely.de, freebsd-current@freebsd.org
Subject:   Re: stdlib.h wchar_t problem
Message-ID:  <20020709140851.GC94279@cicely5.cicely.de>
In-Reply-To: <3D2A49D2.7AF1DB5F@mindspring.com>
References:  <20020709020950.GS94279@cicely5.cicely.de> <3D2A49D2.7AF1DB5F@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 08, 2002 at 07:26:26PM -0700, Terry Lambert wrote:
> 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...

I did a complete reinstall of /usr/includes without a difference, but
my source is from 3. Jul.
Do you remember which commit it fixed?
I wasn't able to find one that would explain a difference.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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