From dev-return-7132-apmail-stdcxx-dev-archive=stdcxx.apache.org@stdcxx.apache.org Tue Mar 25 01:46:49 2008 Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 75581 invoked from network); 25 Mar 2008 01:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 01:46:49 -0000 Received: (qmail 3099 invoked by uid 500); 25 Mar 2008 01:46:48 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 3085 invoked by uid 500); 25 Mar 2008 01:46:48 -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 3076 invoked by uid 99); 25 Mar 2008 01:46:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 18:46:48 -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.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 01:46:08 +0000 Received: by wa-out-1112.google.com with SMTP id j4so3953547wah.21 for ; Mon, 24 Mar 2008 18:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=/nu8gUYVO/arNAOHvZCLXk5AW3NtInvl++8ED4sA9RE=; b=a+qUo/U/RQil96/supVPR1gl81UnakhIpjlU3pK4R656+S2E7zeqUHsNLTdQgoQ6trjHDeheU6uSmMwrchXvXsvpeMTDeH5oUI8jWC4RJGGPdJi9d91TEeJOCrqJ5WTo/SeUcrMHDlrYAYquQJSREFVhV34Fv0IWxqToQkA/Us8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=OG+WNzfD41WDkKeYo+Usqyqg+hh5XVvU+hRR5MCWHouJsKbsnNcLqmox5K7WHvIoiS4or9UkcVnOyS9/AlLdnfNE1DnxXx7NkcFqzGAM46acA9AIkYSbk+XBMUT8AEiL5U8WxI+Pslyhee1dHoHELVkQSGiY9AsdE8zvGBmWOps= Received: by 10.114.173.15 with SMTP id v15mr12762117wae.63.1206409579864; Mon, 24 Mar 2008 18:46:19 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id m26sm13059046pof.8.2008.03.24.18.46.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Mar 2008 18:46:19 -0700 (PDT) Message-ID: <47E85969.2010203@roguewave.com> Date: Mon, 24 Mar 2008 19:46:17 -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: NEW_OFLOW_SAFE config test References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Eric Lemings wrote: > > Here's an error compiling the NEW_OFLOW_SAFE.cpp config test: > > aCC -mt -I. -AA +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 > +W2261 +W2340 +W240 > 1 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 +W4284 > +W4285 +W4286 +W42 > 96 +W4297 +W3348 -c > /amd/devco/lemings/work/stdcxx/trunk.gofish/etc/config/src/NEW_OFLOW_ > SAFE.cpp -o NEW_OFLOW_SAFE.o > "/amd/devco/lemings/work/stdcxx/trunk.gofish/etc/config/src/NEW_OFLOW_SA > FE.cpp", line 46: > error #2020: identifier "size_t" is undefined > void* p = ::operator new (size_t (-1)); > ^ > > Shouldn't 'size_t' be replaced with '_RWSTD_SIZE_T'? Or one of > the standard headers should be included (e.g. , > )? The latter. This regression was introduced here: http://svn.apache.org/viewvc?view=rev&revision=634731 Good catch! We should add a test checking the expected result of this (and other config macros) on known platforms. Martin