Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2015 14:36:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204329] clang++ does not resolve reference to STL member function
Message-ID:  <bug-204329-13-jYjcERyr3x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204329-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204329-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204329

egilb@ife.no changed:

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

--- Comment #11 from egilb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204329-13-jYjcERyr3x>