public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: mvanier@bbb.caltech.edu To: gcc-gnats@gcc.gnu.org Subject: c++/3535: vector class not found in g++ 3.0 Date: Mon, 02 Jul 2001 22:56:00 -0000 [thread overview] Message-ID: <20010703055407.E26C45E0EC@sith.bbb.caltech.edu> (raw) >Number: 3535 >Category: c++ >Synopsis: g++ 3.0 cannot find vector class >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon Jul 02 22:56:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mike Vanier >Release: 3.0 >Organization: California Institute of Technology >Environment: System: Linux sith.bbb.caltech.edu 2.2.12-20 #1 SMP Thu Feb 10 12:40:48 PST 2000 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.0/configure --prefix=/home/mvanier/local/Linux >Description: G++ can't find the vector class in the following code: #include <vector> using namespace std; int main() { vector v; return 0; } The error report is: foo.cc: In function `int main()': foo.cc:6: `vector' undeclared (first use this function) foo.cc:6: (Each undeclared identifier is reported only once for each function it appears in.) foo.cc:6: parse error before `;' token >How-To-Repeat: I named the file "foo.cc" and compiled with "g++ foo.cc". >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-07-02 22:56 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-07-02 22:56 mvanier [this message] 2001-07-02 23:36 Daniel Berlin 2001-07-03 8:26 Jeffrey Oldham
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=20010703055407.E26C45E0EC@sith.bbb.caltech.edu \ --to=mvanier@bbb.caltech.edu \ --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).