Compiling the following file on Darwin
void __attribute__((visibility("internal"))) foo() { }
gives the following error message:
foo.c:1: warning: internal and protected visibility attributes not supportedin
this configuration; ignored
This should be "supported in", not "supportedin".
--
Summary: Typo in visibility warning message
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: austern at apple dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin7.6.0
GCC host triplet: powerpc-apple-darwin7.6.0
GCC target triplet: powerpc-apple-darwin7.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18964