gcc 3.0.2 vector problem

Philip Cheng cheng@loki.pcigeomatics.com
Tue Dec 18 12:04:00 GMT 2001


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.



More information about the Gcc-help mailing list