public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: molivier@users.sourceforge.net To: gcc-gnats@gcc.gnu.org Subject: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490 Date: Wed, 04 Jul 2001 08:56:00 -0000 [thread overview] Message-ID: <20010704155456.9255.qmail@sourceware.cygnus.com> (raw) >Number: 3561 >Category: libstdc++ >Synopsis: declaration of '__fmt' shadows previous local in ostream.tcc:490 >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jul 04 08:56:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mathieu Olivier >Release: 3.0 (Debian) (Debian testing/unstable) >Organization: >Environment: System: Linux antares 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: I compile my program with -Wshadow and g++ said: "/usr/include/g++-v3/bits/ostream.tcc:490: warning: declaration of `__fmt' shadows previous local" which is exact... >How-To-Repeat: Just try to use ostream with -Wshadow >Fix: Remaming all instances of the second __fmt to __fmt2 should be enough I think >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-07-04 8:56 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-07-04 8:56 molivier [this message] 2001-07-05 14:06 Phil Edwards 2001-07-05 14:36 Phil Edwards 2001-07-06 12:16 Phil Edwards 2001-07-09 1:56 Mathieu Olivier 2001-07-11 13:46 Phil Edwards 2002-01-28 12:57 ljrittle
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=20010704155456.9255.qmail@sourceware.cygnus.com \ --to=molivier@users.sourceforge.net \ --cc=gcc-gnats@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: linkBe 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).