Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 20:21:54 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        Thomas David Rivers <rivers@dignus.com>, mb@imp.ch, current@FreeBSD.ORG
Subject:   Re: PATCH: wchar_t is already defined in libstd++
Message-ID:  <20020617202154.B20621@dragon.nuxi.com>
In-Reply-To: <200206172216.g5HMGjrS022873@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Mon, Jun 17, 2002 at 06:16:45PM -0400
References:  <20020617235725.F60170-100000@levais.imp.ch> <200206172202.g5HM2HW52939@lakes.dignus.com> <200206172216.g5HMGjrS022873@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 17, 2002 at 06:16:45PM -0400, Garrett Wollman wrote:
> <<On Mon, 17 Jun 2002 18:02:17 -0400 (EDT), Thomas David Rivers <rivers@dignus.com> said:
> 
> >   The correct approach (and, I have to admit to not
> >  glancing at your patch) would be:
> 
> >    #ifndef __cplusplus
> >    typedef _BSD_WCHAR_T_   wchar_t
> >    #endif
> 
> Actually, the correct approach would be to avoid defining
> _BSD_WCHAR_T_ when compiling C++.  This way, it only needs to be done

I am much more likely to force the libstdc++ build to use our
_BSD_WCHAR_T_.  Our types should be centralized and not in some hidden
vendor software that often makes wrong assumptions about us.

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?20020617202154.B20621>