[Bug c/13134] [3.4 regression] Visibility attribute is ignored
rth at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 25 01:55:00 GMT 2003
------- Additional Comments From rth at redhat dot com 2003-11-25 01:55 -------
Subject: Re: [3.4 regression] Visibility attribute is ignored
On Mon, Nov 24, 2003 at 06:16:15AM -0000, austern at apple dot com wrote:
> What I find inelegant is the idea that you get DEFAULT either by
> saying nothing or by explicitly saying visibility("default")...
The default setting exists in gcc so that one might override the
"default" (ahem) setting with a command-line option. Eg.
-fvisibility=hidden
would mark all symbols hidden unless overridden by an attribute
on the actual decl. The command-line switch never got implemented,
unfortunately.
I agree with Geoff that conflicting attributes for a given decl
ought to generate an error.
r~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13134
More information about the Gcc-bugs
mailing list