• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: struct "declared with greater visibility than the type of its field" warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Jens Alfke <email@hidden>
  • Date: Tue, 27 Oct 2009 10:12:06 -0700


On Oct 27, 2009, at 8:48 AM, Alastair Houghton wrote:

That said, these classes don't have any virtual functions, right?

Nope. Both are really just plain C structs with no methods at all.

Does one of the projects have RTTI turned on and the other one have it turned off, by any chance?

Neither project uses RTTI; it adds too much code bloat.

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.

—Jens _______________________________________________
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


  • Follow-Ups:
    • Re: struct "declared with greater visibility than the type of its field" warning
      • From: Chris Suter <email@hidden>
References: 
 >struct "declared with greater visibility than the type of its field" warning (From: Jens Alfke <email@hidden>)
 >Re: struct "declared with greater visibility than the type of its field" warning (From: Alastair Houghton <email@hidden>)
 >Re: struct "declared with greater visibility than the type of its field" warning (From: Jens Alfke <email@hidden>)
 >Re: struct "declared with greater visibility than the type of its field" warning (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: struct "declared with greater visibility than the type of its field" warning
  • Next by Date: Re: Prevent dsymutil from running at the end of a release build?
  • Previous by thread: Re: struct "declared with greater visibility than the type of its field" warning
  • Next by thread: Re: struct "declared with greater visibility than the type of its field" warning
  • Index(es):
    • Date
    • Thread