Re: Warnings in project vs warnings in target, one has more than other
Re: Warnings in project vs warnings in target, one has more than other
- Subject: Re: Warnings in project vs warnings in target, one has more than other
- From: James Bucanek <email@hidden>
- Date: Thu, 6 Oct 2005 10:55:50 -0700
Sean McBride wrote on Thursday, October 6, 2005:
>On 2005-10-06 10:22, Chris Espinosa said:
>
>>> I want to set my warnings at the project level, as opposed to the
>>> target
>>> level. When I bring up the 'project info' and the 'target info'
>>> windows, and filter to show only the warnings collection, I noticed
>>> that
>>> the 'target info' window shows more warning options than the project
>>> version, the two additional ones are 'pointer sign comparison' and
>>> 'missing newline at end of file'.
>>>
>>> Is this a bug or have I done something weird to end up in this state?
>>
>>That flag is supported by gcc 4.0 but not by gcc 3.3. Are you using
>>different compiler versions in different targets? You can only set
>>project-level settings that are supported by all compilers you're using.
>
>I have only one target (more coming, but not here yet) and it has a rule
>to use gcc 4.
You can also create a single .xcconfig file with the common settings you want to use in all of your targets. Then base all of your targets on the same xcconfig file.
--
James Bucanek
_______________________________________________
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