[Bug 204329] clang++ does not resolve reference to STL member function

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 6 14:36:41 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204329

egilb at ife.no changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |Works As Intended

--- Comment #11 from egilb at ife.no ---
(In reply to Dimitry Andric from comment #10)
Thanks again! I have no problem accepting the source code being
non-portable, but I still find it strange that clang behaves
differently on two platforms. Compiler flag -stdlib=libc++ adds
the decoration
__attribute__ ((__visibility__("hidden"), __always_inline__))
to std::string::c_str(), but still no unresolved function when
using clang/Linux. Does clang silently link in some
gnu library on Linux, or is the behavior due to some configure-options
used when installing the compiler?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list