Re: Treat warnings as errors flag missing in iPhone Xcode project
Re: Treat warnings as errors flag missing in iPhone Xcode project
- Subject: Re: Treat warnings as errors flag missing in iPhone Xcode project
- From: john chen <email@hidden>
- Date: Fri, 21 Aug 2009 14:49:22 -0700
NM. Figured out. We can manually add a OTHER_CFLAGS = -Werror in the
User-Defined section. That works for me.
Thanks,
John
On Fri, Aug 21, 2009 at 12:08 PM, john chen <email@hidden> wrote:
> Hi Kyle,
>
> Thank you for the responds. Where is the right place in the project setting
> to add that -Werror ?
>
> Thanks,
>
> John
>
>
> On Fri, Aug 21, 2009 at 11:27 AM, Kyle Sluder <email@hidden>wrote:
>
>> On Fri, Aug 21, 2009 at 11:24 AM, john chen<email@hidden> wrote:
>> > Usually I like to turn on the flag 'Treat warnings as errors'. It's in
>> OSX
>> > Project. But when creating an iPhone project in 3.0 SDK, I can't see
>> that
>> > flag under the build setting. Anyone know how to set that?
>>
>> Dunno why it isn't there, but you can always add -Werror to your build
>> flags.
>>
>> --Kyle Sluder
>>
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden