Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
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: Jerry <email@hidden>
- Date: Tue, 4 Dec 2007 09:39:54 +0000
There are "Symbols hidden by default' and "Inline methods hidden"
build settings. I actually added "-fvisibility=default" to the "Other C
++ flags" before I noticed these settings. One annoying thing is that
the little pane which gave a brief description of each build setting
and what it would do has vanished in Xcode 3. I'd like to see what
turning on those two options actually does in terms of compiler flags
without having to try rebuilding each time.
Jerry
On 3 Dec 2007, at 17:59, Shamyl Zakariya wrote:
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