Symbol Visibility in C++ App
Symbol Visibility in C++ App
- Subject: Symbol Visibility in C++ App
- From: Michael Randell <email@hidden>
- Date: Tue, 20 Jul 2010 17:36:03 +0100
Hi All
I'm trying to use pragmas to set symbol visibility in a Carbon C++ application - I'm trying to hide the symbols. I'm using otx to disassemble my Mach-O executable to test that the symbols have been hidden.
Unfortunately the pragmas don't seem to work.
I'm using XCode 3.2.2, Mac OS X 10.6.4, compiling with GCC 4.2.
As a test I've tried using the 'C++ library' XCode template project and am still able to see the symbols for the function 'HelloWorldPriv', even though '#pragma GCC visibility push(hidden)' is used to hide the symbols for the class.
Am I missing something?
Cheers
Mike. _______________________________________________
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