From owner-freebsd-current Mon Jun 17 17:39:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 866B437B425; Mon, 17 Jun 2002 17:39:08 -0700 (PDT) Received: from pool0435.cvx40-bradley.dialup.earthlink.net ([216.244.43.180] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17K71P-0004oL-00; Mon, 17 Jun 2002 17:38:59 -0700 Message-ID: <3D0E80FD.CF094352@mindspring.com> Date: Mon, 17 Jun 2002 17:38:21 -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: Martin Blapp Cc: Thomas David Rivers , current@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: PATCH: wchar_t is already defined in libstd++ References: <20020617235725.F60170-100000@levais.imp.ch> 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 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