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 15:04:45 +0200
On May 21, 2010, at 14:12, Chris Suter wrote:
> Hi Chris,
>
> On Fri, May 21, 2010 at 2:17 PM, Chris Espinosa <email@hidden> wrote:
>
>> This warning is relatively new in the linker.
>> 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.
>> There is no way to specifically disable this warning, other than to disable
>> all linker warnings.
>
> Unfortunately, Xcode seems to automatically add -L
> $(BUILT_PRODUCTS_DIR) & -F $(BUILT_PRODUCTS_DIR) and so you'll get a
> warning the first time you link stuff before the build directory has
> been created, which is a slight issue for our build server which does
> clean builds.
>
> I haven't looked extensively yet, but there doesn't appear to be an
> easy way of disabling this automatic behaviour. Assuming I don't find
> an easy fix, I'll radar it.
>
> Kind regards,
>
> Chris
This is not the exact problem, and in fact I think this is the proper thing to do. The problem is really that they do not do this enough, IMHO they should also do this for the build location of cross projects, because that's where frameworks from cross projects are built.
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