Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 86411 invoked from network); 26 Feb 2008 23:23:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 23:23:01 -0000 Received: (qmail 91220 invoked by uid 500); 26 Feb 2008 23:22:56 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 91203 invoked by uid 500); 26 Feb 2008 23:22:56 -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 91192 invoked by uid 99); 26 Feb 2008 23:22:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 15:22:56 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 23:22:10 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m1QNMTuG026574 for ; Tue, 26 Feb 2008 23:22:29 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C878CE.7A416362" Subject: RE: svn commit: r631410 - /stdcxx/trunk/include/loc/_money_put.cc Date: Tue, 26 Feb 2008 16:22:38 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r631410 - /stdcxx/trunk/include/loc/_money_put.cc Thread-Index: Ach4yPfEl0Mm8jqOQgOm+YgSigLTwQAAWiYwAABw0eo= References: <20080226224153.AB3221A9832@eris.apache.org> From: "Martin Sebor" To: , X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C878CE.7A416362 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable FWIW, I confirmed with HP that the aCC warning is bogus (i.e., it's a compiler bug). The gcc warning looks suspicious too but I'm not 100% sure it's a bug. Since the warning comes out of a library header (and will pop up in pretty much every translation unit that #includes the header) IMO it's important to silence it. IIRC, there might even be something about it in our release policy -- which, incidentally, we still need to bring up for a vote... Martin -----Original Message----- From: Travis Vitek [mailto:Travis.Vitek@roguewave.com] Sent: Tue 2/26/2008 3:59 PM To: dev@stdcxx.apache.org Subject: RE: svn commit: r631410 - = /stdcxx/trunk/include/loc/_money_put.cc =20 =20 >From: vitek@apache.org [mailto:vitek@apache.org]=20 > >Author: vitek >Date: Tue Feb 26 14:41:46 2008 >New Revision: 631410 > >URL: http://svn.apache.org/viewvc?rev=3D631410&view=3Drev >Log: > >2008-02-26 Travis Vitek > > * include/loc/_money_put.cc: Eliminate uninitialized variable > warning. > > >Modified: > stdcxx/trunk/include/loc/_money_put.cc > I just looked at this, and I've apparently made a small boo-boo. Martin, you originally made a similar change on trunk some time ago. http://svn.apache.org/viewvc?view=3Drev&revision=3D330842 Just recently, you undid that change to resolve a warning on HP. http://svn.apache.org/viewvc?view=3Drev&revision=3D627612 So I've just undone your fix for HP in a way that isn't consistent with what is on the branches/4.2.x. Ugh. So now the question is, what should we be doing here. We have conflicting warnings. I'm actually a little surprised that the HP compiler doesn't warn if the values are left uninitialized. Instead of a potential null pointer dereference, you would have a potential garbage pointer dereference, which in some cases may be worse. Should I just undo my 'fix' on trunk, or should I take a half hour to try and find a way to placate both compilers? Travis ------_=_NextPart_001_01C878CE.7A416362--