This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

string


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]