Software Convention Proposal
Richard Henderson
rth@redhat.com
Wed Aug 21 19:00:00 GMT 2002
On Wed, Aug 21, 2002 at 10:08:48PM +0200, Jakub Jelinek wrote:
> How is this different from just sourcing another header with
> #define H(x) extern __typeof(x) x __attribute__((visibility("hidden")));
> H(foo)
> H(bar)
> H(baz)
I suppose in theory it isn't. The biggest difference is being
able to enumerate the symbols that you _do_ want exported rather
than the symbols you _don't_.
r~
More information about the Gcc
mailing list