• 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: Alastair Houghton <email@hidden>
  • Date: Tue, 27 Oct 2009 15:48:21 +0000

On 27 Oct 2009, at 15:41, Jens Alfke wrote:

On Oct 27, 2009, at 2:21 AM, Alastair Houghton wrote:

I think this is talking about *types*, not about symbols, so I *think* the "-fvisibility" flag you mentioned is a red herring.

From what I've seen by googling the text of the warning message, this does seem to be related to -fvisibility. Types do have visibility, not just functions and variables.

Ah, no, *classes* have visibility. I'd forgotten about that. In which case, having looked at the code, you might be right, it might indeed be talking about the "-fvisibility" flag.


That said, these classes don't have any virtual functions, right? Does one of the projects have RTTI turned on and the other one have it turned off, by any chance?

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________
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: Jens Alfke <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>)

  • Prev by Date: Re: struct "declared with greater visibility than the type of its field" warning
  • Next by Date: Re: struct "declared with greater visibility than the type of its field" warning
  • 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