From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 28 09:33:33 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 303CA106566C for ; Mon, 28 Mar 2011 09:33:33 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id 004428FC14 for ; Mon, 28 Mar 2011 09:33:32 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id A20B82071D; Mon, 28 Mar 2011 05:33:32 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 28 Mar 2011 05:33:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=6knUdBEIEqBzsh4LILXN5isw5T4=; b=hvI4loPPRXSOy6t6j0lRAWdrFO943faF5Lq/7K+B5sjIcWDVT/GGa4qguf34BALyYZM74SPLGDu3SmrSBcrRKIP4kmij/by44ZZfCSfG3uAX+jGN7NW1Y6n1ch8dQaVn6phRMrSGA1QqJrjjuSXxXyvT/kgUmtmkGzzHhsreMSw= X-Sasl-enc: 91EKgsnWynSK7mK00utzJ/K2plaSzKv3CDBQVVOhLqNt 1301304811 Received: from localhost (222-154-136-33.jetstream.xtra.co.nz [222.154.136.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FF4444804F; Mon, 28 Mar 2011 05:33:31 -0400 (EDT) Date: Mon, 28 Mar 2011 22:33:19 +1300 From: Andrew Turner To: Stefan Farfeleder Message-ID: <20110328223319.4df096b2@fubar.geek.nz> In-Reply-To: <20110327200729.GD2651@mole.fafoe.narf.at> References: <20110328083657.35507caf@fubar.geek.nz> <20110327200729.GD2651@mole.fafoe.narf.at> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Unsigned wchar_t X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 09:33:33 -0000 On Sun, 27 Mar 2011 22:07:30 +0200 Stefan Farfeleder wrote: > On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote: > > Along with this WCHAR_MIN and WCHAR_MAX are defined both in > > and . I would like to remove the copy > > from wchar.h and add an include to machine/_stdint.h. > > > > Would there be any problems with either of these or is there a > > better place to put the __wchar_t typedef and define WCHAR_MIN and > > WCHAR_MAX? > > The C standard specifies that both and shall > define WCHAR_MIN and WCHAR_MAX. You cannot simply include > from because the former contains a lot > of other macros. I thought that might be the case. I could create for the defines unless there is a better place for them. Andrew