Hi,

On 04/06/2015 04:07 PM, Jason Merrill wrote:
On 04/04/2015 09:00 AM, Paolo Carlini wrote:
         error ("%q+#D is inaccessible", diag_decl);
-      error ("within this context");
+      inform (input_location, "within this context");

This is the wrong error to change to inform; we want the error to be associated with the point of use, not the declaration of the member.
Yeah, I see what you mean. That requires a rewording however, let me see...

Paolo.

Reply via email to