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: 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