From dev-return-7134-apmail-stdcxx-dev-archive=stdcxx.apache.org@stdcxx.apache.org Tue Mar 25 14:42:03 2008 Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 49595 invoked from network); 25 Mar 2008 14:42:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 14:42:03 -0000 Received: (qmail 62006 invoked by uid 500); 25 Mar 2008 14:42:02 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 61984 invoked by uid 500); 25 Mar 2008 14:42:02 -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 61971 invoked by uid 99); 25 Mar 2008 14:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 07:42:02 -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.198.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 14:41:21 +0000 Received: by rv-out-0910.google.com with SMTP id k15so1988161rvb.23 for ; Tue, 25 Mar 2008 07:41:33 -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=TmKTjGrwOntZXs1LfoCCzQqUPKHvKlTlk9ZuyRxipZM=; b=dHG8HXlxYQrBbjGD5Hp/+vd605U7dqknz7al8VxTP+TLaJFKA3k33E7M8dZaxE137VohphlPDEs4fHvdXcdCpoGhSCZHcCrOf+jBUNyvVbGn7Zg+a/FD32BMG2ZpF8BxjLDYffhCUYPKcq68JIYtacNiHvd2CbH/+w39E1E6SLo= 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=oFc3LZcLa4u0iishpFBDMcdZ1uZxLtPna/iYkEwrAAyhRJEbvaCjAsYBTk+Ed9MYCI+xLuOW8NnH5j/MAE+oNA5d8Jx+ZQAPo8vHlUYO8NlHrNrpz0iDlT3RKRamsV2ANelHo6rmYlJ/mxvY5FfhhjTzQ2LTazD/aVdW5nyJR+I= Received: by 10.140.249.20 with SMTP id w20mr3353242rvh.103.1206456092992; Tue, 25 Mar 2008 07:41:32 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id 30sm15605215wfa.2.2008.03.25.07.41.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Mar 2008 07:41:31 -0700 (PDT) Message-ID: <47E90F1A.3040800@roguewave.com> Date: Tue, 25 Mar 2008 08:41:30 -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: <47E85969.2010203@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE643801E23CC0@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE643801E23CC0@epmsa009.minsk.epam.com> 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 Farid Zaripov wrote: >> -----Original Message----- >> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor >> Sent: Tuesday, March 25, 2008 3:46 AM >> To: dev@stdcxx.apache.org >> Subject: Re: NEW_OFLOW_SAFE config test >> >> 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 > > Hmm. The NEW_THROWS.cpp before this change also used size_t without > including the stddef.h: > http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/src/NEW_THROWS.cpp? > revision=611451&view=markup&pathrev=634731 But it included stdio.h, didn't it? And stdio defines size_t. No big deal though. we caught it early enough that we can fix it without it having caused any major problems. Martin