Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 17:38:21 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Martin Blapp <mb@imp.ch>
Cc:        Thomas David Rivers <rivers@dignus.com>, current@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: PATCH: wchar_t is already defined in libstd++
Message-ID:  <3D0E80FD.CF094352@mindspring.com>
References:  <20020617235725.F60170-100000@levais.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Blapp wrote:
> >  In standard C++, wchar_t is a keyword.  So, there should be
> >  no definition of wchar_t at all.  I think this is the problem.
> >  (You can't typedef a predefined keyword.)
> >
> >  (Now - the compiler should certainly have the very same
> >  idea of what a wchar_t is.. the same idea as the C typedef,
> >  but that's a gcc configuration problem.)
> 
> So my patches would be correct ?

Yes.  As long as you make sure that the C++ compiler and the
__BSD_WCHAR_T_ agree about the size.

-- 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?3D0E80FD.CF094352>