This is the mail archive of the gcc-bugs@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]

[Bug c++/54775] string error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54775

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-02 01:00:21 UTC ---
That symbol is std::string::string(string&&), which will be found in the
libstdc++ from GCC 4.8, but not necessarily in earlier versions.  The error
message says it's looking in /usr/lib/libstdc++.6.dylib which is almost
certainly not from GCC 4.8, on Mac OS X it's probably from GCC 4.2

What is the output if you add -v to the linker options?

Have you tried using the compiler on the command line, instead of via Eclipse?


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