Re: Linker shows "has different visibility" warning
Re: Linker shows "has different visibility" warning
- Subject: Re: Linker shows "has different visibility" warning
- From: Dmitry Markman <email@hidden>
- Date: Sat, 12 Jan 2008 17:24:52 -0500
thanks Greg
I understand that my solution is close to voodoo
and I think you're right it's not the best
we do use visibility pragma,
and number of includes we use is very big, so
find the real problem is very hard
I created record in our bug database, so I hope it will be solved
thanks again
On Jan 12, 2008, at 2:44 PM, Greg Guerin wrote:
Dmitry Markman wrote:
A and B have some subset of includes
but file1.cpp and file2.cpp had includes in that subset with
different order
so I made order of includes in file1.cpp and file2.cpp the same
If changing the order of inclusion alters visibility, it suggests
there is
a visibility pragma somewhere in those includes that is not using a
paired
push/pop, and so affects everything coming after it. It's probably
wiser
to fix that instead of relying on a semi-magical inclusion order.
It may
not be easy to find the exact cause of the problem, but letting
visibility
run-on from one include to another seems like asking for trouble.
For reference, search ADC for keywords: visibility pragma
-- GG
_______________________________________________
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
Dmitry Markman
_______________________________________________
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