Re: Errors & Warnings not being cleared
Re: Errors & Warnings not being cleared
- Subject: Re: Errors & Warnings not being cleared
- From: Chris Espinosa <email@hidden>
- Date: Mon, 27 Jun 2005 21:15:50 -0700
On Jun 27, 2005, at 4:46 PM, Chunky Kibbles wrote:
I'm using Xcode 2.1 on Tiger. When I do a build that has errors
or warnings, I get errors & warnings in the suitable smart list
[obviously]. When I build agian, the same errors & warnings are still
there, in addition to any new ones.
If I do it again, then that exact same error [or multiple errors...] would
now be in my Errors & Warnings group three times. Rinse, repeat, for
as many times as I click build. When I correct the bug[s], it builds,
tells me there's no problems, and runs.
Except all the Errors & Warnings are still in the smart group, and I
can't figure out how to clear them.
Ideally, I'd like the entire group to be cleared every time I do a build
[for reference, I'm building Torque from garagegames.com]
In my XCode preferences, I have the All-in-One layout. Checking and
unchecking any of the three Environment checkboxes [Automatically clear
smart group filter, Automatically clear log, Save window sata] makes no
difference.
In "Building", the Build Results Window is set to always open
in builds, and close on success.
The Errors & Warnings Smart group is set to Open During Builds "On Errors
or Warnings", and close after builds "On Success". Changing either of
those settings to anything else seems to make no difference either.
So after much experimentation, I haven't been able to fix this, or find
any help anywhere on the web [including searching this mailing list].
Anyone got any ideas?
Chunky (if that's your
real name),
This is, believe it or not, correct and intended behavior. If you want a list of just what errors and warnings transpired on the last click of your Build command, you can use the list in the Build Results window (or tab, in the All in One layout).
The Errors and Warnings smartgroup is meant to be persistent. It solves the problem of people who do a build, get a bunch of warnings in a bunch of files, fix the warnings/errors in one file, and recompile that file. That clears
all warnings in the Build Results window (as expected). But if there were still unfixed warnings in other files, you'd lose that information, because the files actually did compile, and the only way to get the "lost" warnings back would be a rather expensive full clean and rebuild.
The E&W Smartgroup caches all warnings for each file until each has been recompiled without warnings.
Chris
_______________________________________________
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