[cfe-commits] [patch][pr11822] Error on mismatched #pragma GCC visibility push/pop

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jan 31 00:09:21 PST 2012


> 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:
>
> error: #pragma visibility push with no matching #pragma visibility pop
> note: surrounding namespace with visibility attribute ends here
>
> error: #pragma visibility pop with no matching #pragma visibility push
> note: surrounding namespace with visibility attribute starts here
>
> error: #pragma visibility pop with no matching #pragma visibility push


Make sense. Updated patch attached.

> - Richard

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 6892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120131/6f4d4643/attachment.obj>


More information about the cfe-commits mailing list