[Bug c++/54775] string error

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 2 01:00:00 GMT 2012


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?



More information about the Gcc-bugs mailing list