This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0.2 vector problem
- From: Philip Cheng <cheng at loki dot pcigeomatics dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Dec 2001 15:06:45 -0500 (EST)
- Subject: gcc 3.0.2 vector problem
I am compiling my program on my Linux 7.2 with gcc 3.0.2 and I got the
following error. I did not get this error with gcc 2.95.2
Anyone knows how I can solve this problem?
Thanks
Philip
test.cpp:
--------
#include <vector>
vector<int> ww;
main()
{
}
Error:
test.cpp:2: 'vector' is used as a type, but is not defined as a type.