public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Phil Edwards <pedwards@disaster.jaj.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490
Date: Thu, 05 Jul 2001 14:36:00 -0000	[thread overview]
Message-ID: <20010705213602.327.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR libstdc++/3561; it has been noted by GNATS.

From: Phil Edwards <pedwards@disaster.jaj.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490
Date: Thu, 5 Jul 2001 17:32:16 -0400

 On Thu, Jul 05, 2001 at 09:06:00PM -0000, Phil Edwards wrote:
 >  Nope, doesn't happen.  I do see the warning (along with a few others) if
 >  I use "-Wshadow -Wsystem-headers",
 
 Just for the record, compiling 17_intro/headers.cc with those two switches
 yields:
 
 In file included from /home/pme/build/install-2001-07-05/include/g++-v3/bits/locale_facets.h:415,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bits/basic_ios.h:36,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bits/std_ios.h:46,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bits/std_ostream.h:39,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bits/std_bitset.h:70,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bitset:31,
                  from headers.cc:26:
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h: In member 
    function `virtual std::codecvt_base::result std::codecvt<_InternT, _ExternT, 
    std::__enc_traits>::do_out(std::__enc_traits&, const _InternT*, const 
    _InternT*, const _InternT*&, _ExternT*, _ExternT*, _ExternT*&) const':
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h:400: warning: declaration
    of `__desc_type' shadows a member of `this'
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h: In member 
    function `virtual std::codecvt_base::result std::codecvt<_InternT, _ExternT, 
    std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, 
    _ExternT*&) const':
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h:467: warning: declaration
    of `__desc_type' shadows a member of `this'
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h: In member 
    function `virtual std::codecvt_base::result std::codecvt<_InternT, _ExternT, 
    std::__enc_traits>::do_in(std::__enc_traits&, const _ExternT*, const 
    _ExternT*, const _ExternT*&, _InternT*, _InternT*, _InternT*&) const':
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/codecvt.h:505: warning: declaration
    of `__desc_type' shadows a member of `this'
 In file included from /home/pme/build/install-2001-07-05/include/g++-v3/bits/std_ostream.h:278,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bits/std_bitset.h:70,
                  from /home/pme/build/install-2001-07-05/include/g++-v3/bitset:31,
                  from headers.cc:26:
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/ostream.tcc: In function 
    `void std::__pad_char(std::basic_ios<_CharT, _Traits>&, _CharT*, const 
    _CharT*, int, int)':
 /home/pme/build/install-2001-07-05/include/g++-v3/bits/ostream.tcc:490: warning: declaration
    of `__fmt' shadows previous local
 


             reply	other threads:[~2001-07-05 14:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-05 14:36 Phil Edwards [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-28 12:57 ljrittle
2001-07-11 13:46 Phil Edwards
2001-07-09  1:56 Mathieu Olivier
2001-07-06 12:16 Phil Edwards
2001-07-05 14:06 Phil Edwards
2001-07-04  8:56 molivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010705213602.327.qmail@sourceware.cygnus.com \
    --to=pedwards@disaster.jaj.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).