Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2002 19:26:26 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        ticso@cicely.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: stdlib.h wchar_t problem
Message-ID:  <3D2A49D2.7AF1DB5F@mindspring.com>
References:  <20020709020950.GS94279@cicely5.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2A49D2.7AF1DB5F>