On 6/4/19 11:57 AM, Paolo Carlini wrote:
Hi,

On 04/06/19 16:50, Jason Merrill wrote:
On 6/4/19 10:31 AM, Paolo Carlini wrote:
+          permerror (loc, "member functions are implicitly "
+             "friends of their class");

Wouldn't it be better to use the location of "friend" in this diagnostic?

Yes, however doing that fully correctly seems a bit tricky

Why tricky?  Doesn't declspecs->locations[ds_friend] work?

Jason

Reply via email to