Re: GCC visibility quirks
Re: GCC visibility quirks
- Subject: Re: GCC visibility quirks
- From: Stefan Werner <email@hidden>
- Date: Fri, 13 Apr 2007 18:36:33 -0700
On Apr 13, 2007, at 4:55 PM, Robert Kukuchka wrote: Hello, I've run into some issues dealing with making symbols visible using the "#pragma GCC visibility push(default)" preprocessor command. In about 90% of my code it's setting proper visibility, but occasionally certain symbols are still hidden. If I turn off GCC_SYMBOLS_PRIVATE_EXTERN linking works as expected, so I know they're being compiled. Any suggestions for further ways to debug this issue? I do see the symbols in the object code when I use NM, and using OTOOL I do NOT see the symbols in the dylib (provided I activate GCC_SYMBOLS_PRIVATE_EXTERN).
Does this happen only for Release builds or in Debug builds too? GCC_INLINES_ARE_PRIVATE_EXTERN could swallow some symbols.
Stefan |
_______________________________________________
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