public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: dhawkins@cdrgts.com To: gcc-gnats@gcc.gnu.org Subject: c++/8827: operator<< within namespace shadows all operator<<'s in global namespace Date: Thu, 05 Dec 2002 11:46:00 -0000 [thread overview] Message-ID: <20021205193807.14030.qmail@sources.redhat.com> (raw) >Number: 8827 >Category: c++ >Synopsis: operator<< within namespace shadows all operator<<'s in global namespace >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Dec 05 11:46:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: dhawkins@cdrgts.com >Release: g++-3.2 (GCC) 3.2.1 >Organization: >Environment: Debian GNU/Linux Sarge with g++ from Sid (Athlon 800). >Description: >How-To-Repeat: compile the code >Fix: I have demonstrated work-arounds, but do not know of any fixes. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="simple.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="simple.cc" I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8aXRlcmF0b3I+ CiNpbmNsdWRlIDxhbGdvcml0aG0+CgojZGVmaW5lIFJFTU9WRV9PUEVSQVRPUl9GSVgKI2RlZmlu ZSBBRERfU1REX05BTUVTUEFDRV9GSVgKCm5hbWVzcGFjZSBmb28gewogIGNsYXNzIGJhcgogIHsK ICBwdWJsaWM6CiAgICBiYXIoKSB7fQogIH07CgogIHRlbXBsYXRlPHR5cGVuYW1lIFQ+CiAgdm9p ZAogIGR1bXBlcihjb25zdCBUJiBidikgewogICAgc3RkOjpjZXJyIDw8IGJ2IDw8IHN0ZDo6ZW5k bDsKICB9CgojaWZuZGVmIFJFTU9WRV9PUEVSQVRPUl9GSVgKICBzdGQ6Om9zdHJlYW0gJiBvcGVy YXRvcjw8KHN0ZDo6b3N0cmVhbSAmb3N0ciwgYmFyJiBteV90ZXN0X2NvbXBvbmVudCkgeyAvKiBl bXB0eSAqLyB9CiNlbmRpZgoKfSAvLyBuYW1lc3BhY2UgZm9vCgojaWZkZWYgQUREX1NURF9OQU1F U1BBQ0VfRklYCm5hbWVzcGFjZSBzdGQgewojZW5kaWYgLy8gQUREX1NURF9OQU1FU1BBQ0VfRklY CgpzdGQ6Om9zdHJlYW0mIApvcGVyYXRvcjw8KHN0ZDo6b3N0cmVhbSAmb3MsIGNvbnN0IHN0ZDo6 dmVjdG9yPGNoYXI+ICZidikKewogIGNvcHkoYnYuYmVnaW4oKSwgYnYuZW5kKCksIHN0ZDo6b3N0 cmVhbV9pdGVyYXRvcjx1bnNpZ25lZCBzaG9ydD4ob3MsICIgIikpOwogIHJldHVybiBvczsKfQoK I2lmZGVmIEFERF9TVERfTkFNRVNQQUNFX0ZJWAp9IC8vIG5hbWVzcGFjZSBzdGQKI2VuZGlmIC8v IEFERF9TVERfTkFNRVNQQUNFX0ZJWAoKaW50Cm1haW4oKQp7CiAgZm9vOjpiYXIgdXQ7CgogIHN0 ZDo6dmVjdG9yPGNoYXI+IG15X3ZlY3RvcjsKCiAgbXlfdmVjdG9yLnB1c2hfYmFjayg4KTsKICBt eV92ZWN0b3IucHVzaF9iYWNrKDE2KTsKICBteV92ZWN0b3IucHVzaF9iYWNrKDMyKTsKICBteV92 ZWN0b3IucHVzaF9iYWNrKDQyKTsKCiAgc3RkOjpjb3V0IDw8IG15X3ZlY3RvciA8PCBzdGQ6OmVu ZGw7CgogIGZvbzo6ZHVtcGVyKG15X3ZlY3Rvcik7Cn0K
next reply other threads:[~2002-12-05 19:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-05 11:46 dhawkins [this message] 2002-12-05 11:57 bangerth
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=20021205193807.14030.qmail@sources.redhat.com \ --to=dhawkins@cdrgts.com \ --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).