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 <johnchen...@gmail.com> 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 <kyle.slu...@gmail.com>wrote:
>
>> On Fri, Aug 21, 2009 at 11:24 AM, john chen<johnchen...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to