• 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: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal


  • Subject: Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
  • From: Shamyl Zakariya <email@hidden>
  • Date: Mon, 3 Dec 2007 12:59:40 -0500

I hate to sound like a total fool, but where does the - fvisibility=default go? I assume it goes in both the static lib subtarget build settings as well as the main framework, but does it go into gcc's parameters or the linker's? I tried putting it in the linker's params but got error messages.


email@hidden this mesage brought to you by THE MATTEL AND MARS BARS QUICK ENERGY CHOCOBOT HOUR


On Dec 3, 2007, at 10:09 AM, Sean McBride wrote:

On 12/2/07 6:01 PM, Jerry said:

Only 851? I get 4000 warnings every time I build (luckily, the
warnings Xcode shows per architecture seems to be limited to 2000).
I've managed to reduce this (to 4000) by building my own static
libraries with -fvisibility=default, but I've no idea what to do about
third-party static libraries which I don;t have control over. The
warnings are really annoying, increase the build time substantially
and hide any "real" warnings or errors you get.

I have also seen these. I have fixed almost all of them by matching 'visibility' options in both static libs and the main app, luckily I have the source to all my libs. However, even after doing this, a few hundred remain, and I cannot figure out how to get rid of them.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________
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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
      • From: Jerry <email@hidden>
    • Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
      • From: "Sean McBride" <email@hidden>
References: 
 >Hundred of C++ linker warnings in Xcode 3: odd but not fatal (From: Shamyl Zakariya <email@hidden>)
 >Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal (From: Jerry <email@hidden>)
 >Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: C++ tool?
  • Next by Date: which mailing list?
  • Previous by thread: Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
  • Next by thread: Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
  • Index(es):
    • Date
    • Thread