This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Darwin] Patch: enable hidden visibility


Matt Austern <austern@apple.com> writes:

> This patch enables hidden visibility for Darwin.  Example:
>     __attribute__ ((__visibility__("hidden")))
>     void foo() { }

> OK to commit to mainline?

OK, except first please fix:

> +     warning ("internal and protected visibility artributes not supported"
> + 	     "in this configuration; ignored");

... the misspelling of 'attributes'.  Not that I don't think it's a
work of art...

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]