<div class="gmail_quote">2012/1/30 Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/1/30 Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>>:<br>
<div class="im">>> Is it possible to error on the #prama, even when diagnosing the case about<br>
>> the namespace end? That would be ideal...<br>
><br>
> Not sure what you mean. We do error on:<br>
<br>
</div>I think I figured it out. You want the error to be in the pragma line<br>
and the note to point to the end of the namespace, right?<br>
<br>
The attached patch implements this. Let me know what do you think.<br></blockquote><div> </div><div>I think we could be more explicit that the problem is caused by the namespace having a visibility attribute. Possible wording for the three cases:</div>
<div><br></div><div>error: #pragma visibility push with no matching #pragma visibility pop</div><div>note: surrounding namespace with visibility attribute ends here</div><div><div><br class="Apple-interchange-newline">error: #pragma visibility pop with no matching #pragma visibility push</div>
<div>note: surrounding namespace with visibility attribute starts here</div></div><div><br></div><div>error: #pragma visibility pop with no matching #pragma visibility push</div><div><br></div><div>- Richard</div></div>