Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2015 11:26:43 +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-UlP3HWw1Nr@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

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Rejected
             Status|New                         |Closed

--- Comment #5 from Dimitry Andric <dim@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.



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