Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 8535 invoked from network); 19 Oct 2005 19:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 19:54:07 -0000 Received: (qmail 13631 invoked by uid 500); 19 Oct 2005 19:54:07 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 13614 invoked by uid 500); 19 Oct 2005 19:54:07 -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 13603 invoked by uid 99); 19 Oct 2005 19:54:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 12:54:05 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 067D7237 for ; Wed, 19 Oct 2005 21:53:45 +0200 (CEST) Message-ID: <412943557.1129751625024.JavaMail.jira@ajax.apache.org> Date: Wed, 19 Oct 2005 21:53:45 +0200 (CEST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-56) [gcc -Wshadow] warning from and Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [gcc -Wshadow] warning from and ------------------------------------------------ Key: STDCXX-56 URL: http://issues.apache.org/jira/browse/STDCXX-56 Project: STDCXX Type: Bug Components: 23. Containers Versions: 4.1.2 Environment: gcc 2.95.2 Reporter: Martin Sebor Assigned to: Martin Sebor Priority: Minor Fix For: 4.1.3 Compiling and with gcc 2.95.2 (this one was on IRIX but the OS probably doesn't matter) yields lots of warnings like the one below: gcc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build/sebor/gcc-2.95.2-15d/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -pedantic -nostdinc++ -fhonor-std -ftemplate-depth-32 -fsquangle -g -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /build/sebor/dev/stdlib/examples/manual/trnsform.cpp /build/sebor/dev/stdlib/include/deque: In method `void std::deque >::insert(__rw::__rw_debug_iter >,std::__rw_deque_iter >,std::__rw_deque_iter > >, const int *, const int *)': /build/sebor/dev/stdlib/include/deque.cc:524: instantiated from `std::deque >::_C_assign_range(const int *, const int *, std::input_iterator_tag)' /build/sebor/dev/stdlib/include/deque:764: instantiated from here /build/sebor/dev/stdlib/include/deque:627: warning: declaration of `__it' shadows previous local -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira