[Bug 204329] clang++ does not resolve reference to STL member function
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 6 11:26:43 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204329
Dimitry Andric <dim at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |Rejected
Status|New |Closed
--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #3)
> Forgive me if i didn't grok the issue correctly, but it appears the title of
> the issue summaries the issue:
>
> "does not resolve reference to STL member function"
>
> That implies to me that it *should*
Why do you think so? I think the submitter of the bug should explain. I have
already explained in comment 4 that taking the address of std::string::c_str is
undefined behavior. So there is no "correct" way of handling this.
> If that is indeed the case (requires confirmation/validation), what is the
> impact?
The impact is nil. You should simply not do this. :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list