Re: struct "declared with greater visibility than the type of its field" warning
Re: struct "declared with greater visibility than the type of its field" warning
- Subject: Re: struct "declared with greater visibility than the type of its field" warning
- From: Chris Suter <email@hidden>
- Date: Wed, 28 Oct 2009 09:20:26 +1100
Hi Jens,
On Wed, Oct 28, 2009 at 4:12 AM, Jens Alfke
<email@hidden> wrote:
I've just looked at the build settings, and the relevant difference seems to be that Chrome uses -fvisibility=hidden (aka "Symbols Hidden by Default"), while regular WebKit/Safari only uses -fvisibility-inlines-hidden.
I don't know why, but it would appear that the compiler is ignoring -fvisibility=hidden for your definition of CommandEntry.
You can get rid of the warning you're seeing by adding __attribute__((visibility("hidden")) to the CommandEntry definition.
Kind regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden