------- Comment #2 from joseph at codesourcery dot com 2009-11-04 19:42 ------- Subject: Re: New: __attribute__ ((visibility)) weird with functions returning pointers
Visibility attributes are in the nature of storage class specifiers and so should be placed at the start of the declaration. The relevant documentation for binding of attributes is "Attribute Syntax" in the manual. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41942