• 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
Symbol Visibility in C++ App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Symbol Visibility in C++ App
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Guard Malloc message
  • Next by Date: Re: Guard Malloc message
  • Previous by thread: Re: Guard Malloc message
  • Next by thread: Re: Symbol Visibility in C++ App
  • Index(es):
    • Date
    • Thread