string

Margus Metskivi Margus.Metskivi@liewenthal.ee
Wed Mar 13 01:16:00 GMT 2002


Hello

What's different with g++3 when compiling a piece of code with:
#include <string>

int GetStr(string &Buffer);

.
.
.


with g++ everything works fine but g++3 gives errors like:
"unexpected token string &"

Also, when compiling and linking code with g++3 it compiles but does not link.
Are there any additional paths needed in link-time (-L/...) and what's the
difference between g++ link and g++3 link?

Margus Metskivi



More information about the Gcc mailing list