G++ seems broken
Roger Leigh
roger.leigh@epictechnology.co.uk
Thu Jun 3 09:20:00 GMT 2004
On Thu, Jun 03, 2004 at 11:15:33AM +0200, Bart van der Werf (Bluelive) wrote:
> #include <vector>
>
> int main() {
> vector<int> quux;
> return 0;
> }
>
> g++ test.cpp
> test.cpp: In function `int main()':
> test.cpp:4: error: `vector' undeclared (first use this function)
Your code is not using the std:: namespace. Try std::vector instead.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list