• 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
Re: Linker shows "has different visibility" warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker shows "has different visibility" warning


  • Subject: Re: Linker shows "has different visibility" warning
  • From: Jerry <email@hidden>
  • Date: Fri, 11 Jan 2008 17:44:19 +0000

The solution seems to compile all the libraries you use with - fvisibility=default or decorate all your source code with visibility attributes, but this is no good if you're relying on third-party libraries for which you don't have the source. I've managed to get my warnings down to 10000 on every build, but build time is doubled by the time it takes to print out all those messages. My actual solution is to revert to Tiger for development, which also solves a host of other linking problems, such as those associated with using libcurl, and as a bonus I don't have kernel panics every half hour any more.

Jerry

On 11 Jan 2008, at 16:40, Alexander von Below wrote:

Yes, it has been a topic on this list ... but a search of the archives does not even yield my own posts about it :-/

So this should answer your questions:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/SymbolVisibility.html

HTH

Alex

Am 11.01.2008 um 16:43 schrieb Dieter Oberkofler:

After upgrading from XCode 2.4.1 to 2.5 running on Leopard the linker shows me thousands of "has different visibility" warnings.
(ld: warning __ZN13PWR_CStringRWC2ERKS_.eh has different visibility (1) in /MyDev/LJS_DEV/app/trunk_build/debug/ libLJS_SQL_LIB.a(costcentre.o) and (2) in /MyDev/LJS_DEV/app/trunk/ xvt/mac/lib/libXVTPWRd.a(CTdiPackage.o))
Has someone already solved this one?
Thank you
Dieter


_______________________________________________
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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@huxtable.com


This email sent to email@hidden


_______________________________________________ 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: Linker shows "has different visibility" warning (2nd)
      • From: Dieter Oberkofler <email@hidden>
References: 
 >Linker shows "has different visibility" warning (From: Dieter Oberkofler <email@hidden>)
 >Re: Linker shows "has different visibility" warning (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Linker shows "has different visibility" warning
  • Next by Date: setting NSTableView column widths in IB 3.0
  • Previous by thread: Re: Linker shows "has different visibility" warning
  • Next by thread: Re: Linker shows "has different visibility" warning (2nd)
  • Index(es):
    • Date
    • Thread