http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60954
Bug ID: 60954 Summary: gcc-plugin.h should set default visibility Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: tromey at gcc dot gnu.org gcc-plugin.h declares two symbols that must be exported by the plugin: plugin_is_GPL_compatible and plugin_init. I think it would be nice for plugin authors if these two declarations had __attribute__((__visibility__("default"))). That way they would get the correct visibility automatically, regardless of how the plugin was built.