Re: Silencing linker warnings in xcode
Re: Silencing linker warnings in xcode
- Subject: Re: Silencing linker warnings in xcode
- From: Christiaan Hofman <email@hidden>
- Date: Fri, 21 May 2010 11:09:50 +0200
On May 21, 2010, at 6:17, Chris Espinosa wrote: On May 20, 2010, at 2:47 PM, Christiaan Hofman wrote: I have asked this before, but got no reply, so let me ask in a different way. Is it not possible to silence certain linker (ld) warnings in Xcode? In particular warnings like
"Directory /path/to/a/framework/search/path following -F not found"
which are only extremely annoying for me.
I tried setting several "Linker Warning Flags" in the build settings including "-w" (which should stop all warnings, I thought), but that does absolutely nothing. So is there a way to silence linker warnings, in particular this one?
This warning is relatively new in the linker.
Yes, since Xcode 3.2.2. The conditions to invoke it are very old. Usually you can eliminate it by removing the unneeded path from FRAMEWORK_SEARCH_PATHS or LIBRARY_SEARCH_PATHS.
But I cannot do that. (I explained this in an earlier message, Xcode gives me no viable alternative.) There is no way to specifically disable this warning, other than to disable all linker warnings.
Chris
Should this then not be a valid bug against the xcode tools (Apple says not)? IMHO it SHOULD be possible to silence it, especially since Xcode gives me no way to avoid it.
Also silencing ALL linker warnings does not work, I tried passing -w.
Christiaan
|
_______________________________________________
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