|
From: | Bruno Haible |
Subject: | Re: control of symbols exported by shared libraries |
Date: | Mon, 25 Jul 2005 21:13:34 +0200 |
User-agent: | KMail/1.5 |
Albert Chin wrote: > The AIX v7 compiler compiles the following: > $ cat vis.c > extern __attribute__((__visibility__("hidden"))) int hiddenvar; > extern __attribute__((__visibility__("default"))) int exportedvar; > extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); > extern __attribute__((__visibility__("default"))) int exportedfunc (void); > > $ xlc -c vis.c > [no error] Thanks for the info. But does it have any effect? And is there a way to make the default visibility in a compilation be "hidden" instead of "default"? Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |