public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bagnara at cs dot unipr dot it" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/12665] New: Valid friend declaration erroneously rejected Date: Fri, 17 Oct 2003 20:00:00 -0000 [thread overview] Message-ID: <20031017195906.12665.bagnara@cs.unipr.it> (raw) PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12665 Summary: Valid friend declaration erroneously rejected Product: gcc Version: 3.3.2 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bagnara at cs dot unipr dot it CC: gcc-bugs at gcc dot gnu dot org The attached program gives: $ g++ -c -v bug.cc Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs Configured with: ../gcc-3.3.2/configure --prefix=/usr/local Thread model: posix gcc version 3.3.2 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D_GNU_SOURCE bug.cc -D__GNUG__=3 -quiet -dumpbase bug.cc -auxbase bug -version -o /tmp/cchKwbUI.s GNU C++ version 3.3.2 (i686-pc-linux-gnu) compiled by GNU C version 3.3.2. GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=113178 ignoring nonexistent directory "/usr/local/i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include/c++/3.3.2 /usr/local/include/c++/3.3.2/i686-pc-linux-gnu /usr/local/include/c++/3.3.2/backward /usr/local/include /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include /usr/include End of search list. bug.cc: In instantiation of `C<int>': bug.cc:18: instantiated from here bug.cc:15: error: `foo' was not declared in this scope
next reply other threads:[~2003-10-17 19:59 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-17 20:00 bagnara at cs dot unipr dot it [this message] 2003-10-17 20:03 ` [Bug c++/12665] " bagnara at cs dot unipr dot it 2003-10-17 20:25 ` bangerth at dealii dot org 2003-10-17 20:52 ` bagnara at cs dot unipr dot it 2003-10-17 21:03 ` pinskia at gcc dot gnu dot org 2003-10-17 22:16 ` bangerth at dealii dot org 2003-10-17 22:37 ` bagnara at cs dot unipr dot it
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=20031017195906.12665.bagnara@cs.unipr.it \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).