Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 38572 invoked from network); 11 Apr 2008 19:31:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2008 19:31:20 -0000 Received: (qmail 63785 invoked by uid 500); 11 Apr 2008 19:31:20 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 63767 invoked by uid 500); 11 Apr 2008 19:31:20 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 63758 invoked by uid 99); 11 Apr 2008 19:31:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 12:31:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 19:30:37 +0000 Received: by wa-out-1112.google.com with SMTP id j4so595434wah.21 for ; Fri, 11 Apr 2008 12:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=d2ueJ96+XWFYyDW0E+EH5/nk47sKscgpcqfTTwnIO2s=; b=C8J6LbNMxD0XD71tCMMErOucgFPNux/miEAaFcZC/km3I4XILkYJBdjFnjl0hk1Y3IOsDPi5meD0hNE51HnDs5HBY+tUFoNuQB4ppg7ystztFLY3/mkWL0VXTgZuc+ahZpPkzpMIBU/YcvF3HLgpSzM2kELX4HMK8PgdP85zcOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=tg8kskabX/lGVDKLMCATr+IUizjLd8LJHl7pV4vv8ewxTs0d9CxNIGEy3ova7LEDbH08OmQ6J4+oKp228wDGX9T6pTOJ4Pl2F4AZNHoZ3pkIDvcivgeSc4knU90LYb4ELIYSCn4boeJK2Gq6PznCU9g/4a8S0+8brBwWcI2xnUE= Received: by 10.114.53.1 with SMTP id b1mr4008428waa.86.1207942248714; Fri, 11 Apr 2008 12:30:48 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id m28sm5803580poh.8.2008.04.11.12.30.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Apr 2008 12:30:47 -0700 (PDT) Message-ID: <47FFBC65.3060609@roguewave.com> Date: Fri, 11 Apr 2008 13:30:45 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: _RWSTD_NO_BOOL vs _RWSTD_NO_NATIVE_BOOL References: <7BDB2168BEAEF14C98F1901FD2DE64383C3EB0@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64383C3EB0@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > In library headers somewhere used _RWSTD_NO_BOOL and somewhere - _RWSTD_NO_NATIVE_BOOL. > The _RWSTD_NO_BOOL.is determined at configure step, but _RWSTD_NO_NATIVE_BOOL - not. At the same time > _RWSTD_NO_NATIVE_BOOL mentioned in readme file, while _RWSTD_NO_BOOL - doesn't. > What the difference between these macros? > > Shouldn't be _RWSTD_NO_NATIVE_BOOL. replaced with _RWSTD_NO_BOOL.? The _NO_NATIVE_XXX macros (_RWSTD_NO_NATIVE_BOOL and _RWSTD_NO_NATIVE_WCHAR_T) are #defined when the respective type isn't a distinct type. The others are #defined when the type isn't provided at all, not even as a typedef. We probably could drop the second kind because we don't depend on any typedefs like that. It might even make sense to get rid of both kinds of macros and assume that both bool and wchar_t are always provided as distinct types. We talked about doing a review of all these workarounds in the future (sometime after 4.2) and cleaning things up -- see this post: http://stdcxx.markmail.org/message/zuawhacu2cihto4y It might make sense to add these to the list. Martin