Re: G++ seems broken

2004-06-03 Thread Roger Leigh
On Thu, Jun 03, 2004 at 11:15:33AM +0200, Bart van der Werf (Bluelive) wrote: > #include > > int main() { >vector 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

G++ seems broken

2004-06-03 Thread Bart van der Werf \(Bluelive\)
#include int main() { vector quux; return 0; } g++ test.cpp test.cpp: In function `int main()': test.cpp:4: error: `vector' undeclared (first use this function) test.cpp:4: error: (Each undeclared identifier is reported only once for each function it appears in.) test.cpp:4: error: synt