[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stl + g++-3.2



Hi,
I'm trying to compile a proogram I've developed using the standard string and 
vector classes and it does compile without problems using g++-2.95 but if I 
just change the links for g++ and gcc from 2.95 to 3.2 I get some errors as 
if string and vector classes where not defined. Should I add something to be 
able to compile it?
Here is the first part of the g++-3.2 output:

g++ -c main.cc -I /usr/include/postgresql -I ../wvstreams-3.70/src/include
In file included from orderline.h:6,
                 from order.h:7,
                 from receiver.h:4,
                 from server.h:6,
                 from main.cc:14:
missline.h:13: syntax error before `,' token
missline.h:14: syntax error before `)' token
missline.h:18: 'string' is used as a type, but is not defined as a type.
In file included from order.h:7,
                 from receiver.h:4,
                 from server.h:6,
                 from main.cc:14:
orderline.h:10: syntax error before `,' token
orderline.h:13: syntax error before `)' token
orderline.h:17: 'string' is used as a type, but is not defined as a type.
In file included from order.h:8,



Reply to: