This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54775] string error
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Oct 2012 01:00:21 +0000
- Subject: [Bug c++/54775] string error
- Auto-submitted: auto-generated
- References: <bug-54775-4@http.gcc.gnu.org/bugzilla/>
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?