Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 2454 invoked from network); 6 Apr 2007 23:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Apr 2007 23:06:53 -0000 Received: (qmail 79211 invoked by uid 500); 6 Apr 2007 23:07:00 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 79193 invoked by uid 500); 6 Apr 2007 23:07:00 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 79182 invoked by uid 99); 6 Apr 2007 23:07:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 16:07:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 16:06:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 800A2714068 for ; Fri, 6 Apr 2007 16:06:32 -0700 (PDT) Message-ID: <11507314.1175900792521.JavaMail.jira@brutus> Date: Fri, 6 Apr 2007 16:06:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-384) [HP cadvise] bogus error #2101 with -Aa and for loop In-Reply-To: <13719145.1175721332962.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487355 ] Martin Sebor commented on STDCXX-384: ------------------------------------- -------- Original Message -------- Subject: Re: bogus cadvise error #2101 on -Aa Date: Wed, 4 Apr 2007 20:17:03 -0700 (PDT) From: Dennis Handly To: acxx@cup.hp.com, sebor@roguewave.com >From: Martin Sebor >cadvise doesn't seem to know that -Wc,-ansi_for_scope,on is >included in -Aa. It seems to translate -Aa to -AP. I filed CR JAGag36976: Error 2101 on cadvise aCC -Aa, -Aa not passed to ca_aCC > [HP cadvise] bogus error #2101 with -Aa and for loop > ---------------------------------------------------- > > Key: STDCXX-384 > URL: https://issues.apache.org/jira/browse/STDCXX-384 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: HP casdvise with aCC 3.73 > Reporter: Martin Sebor > > -------- Original Message -------- > Subject: bogus cadvise error #2101 on -Aa > Date: Wed, 04 Apr 2007 14:41:54 -0600 > From: Martin Sebor > Organization: Rogue Wave Software > To: acxx@cup.hp.com > cadvise doesn't seem to know that -Wc,-ansi_for_scope,on is included in -Aa. > Martin > $ cat t.cpp && aCC -Aa -V t.cpp && cadvise aCC -Aa -V t.cpp > int main () > { > for (int i = 0; ; ); > for (int i = 0; ; ); > } > aCC: HP ANSI C++ B3910B A.03.73 > 92453-07 linker command s800.sgs ld PA64 B.11.45 REL 050725 > /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.45 050725 > aCC: HP ANSI C++ B3910B A.03.73 > 92453-07 linker command s800.sgs ld PA64 B.11.45 REL 050725 > /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.45 050725 > "/build/sebor/stdcxx-aCC-3.73-12D/examples/t.cpp", line 4: warning #2128-D: > loop is not reachable from preceding code > for (int i = 0; ; ); > ^ > "/build/sebor/stdcxx-aCC-3.73-12D/examples/t.cpp", line 4: error #2101: "i" > has already been declared in the current scope > for (int i = 0; ; ); > ^ > 1 error detected in the compilation of > "/build/sebor/stdcxx-aCC-3.73-12D/examples/t.cpp". > cadvise: warning 108: error while analyzing file "t.cpp" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.