On Wednesday 20 May 2015 12:14:36 Daniel Vrátil wrote: > 00:28:09.901 Undefined symbols for architecture x86_64: > 00:28:09.902 "std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> >::c_str() const", referenced from:
this is std::string::c_str(), which is inline in libc++: _LIBCPP_INLINE_VISIBILITY const value_type* c_str() const _NOEXCEPT {return data();} http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?view=markup#l1597 > Everything I could find on Google suggested switching to different stdlib > but that does not sound to me like the case here, since we would get > similar failures everwhere we use std::string, right? > > Any idea what could be wrong? This obviously compiles just fine on Linux. Compiler bug. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<