warning filters (was: Re: NEXT_ROOT environment variable ignored...)
warning filters (was: Re: NEXT_ROOT environment variable ignored...)
- Subject: warning filters (was: Re: NEXT_ROOT environment variable ignored...)
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Tue, 17 May 2005 08:59:27 -0400
- Thread-topic: Xcode-users Digest, Vol 2, Issue 198
Adding a 'me too' to this as well, but what I'd like is a generalized filtering mechanism. I use assert() throughout my code because it can be turned off by NDEBUG, but that causes -Wunreachable-code to go nuts. I'd like to be able to filter warnings based on 1) the type of warning and 2) what symbol the warning is being activated on (including macros!). Maybe making it possible to ignore a warning that always comes up on a particular line as well, but that would be up to everyone else.
Having that kind of a generalized warning mechanism would allow me to get rid of several hundred pointless warnings quickly. My current method involves coping the warnings to a file, and then running 'grep -v' across the file, but I'd like something a little more robust than that.
Thanks,
Cem Karan
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 16 May 2005 13:44:25 -0400 (EDT)
>From: "Mike Pinkerton" <email@hidden>
>Subject: Re: NEXT_ROOT environment variable ignored...
>To: email@hidden
>Message-ID: <email@hidden>
>Content-Type: TEXT/PLAIN; CHARSET=us-ascii
>
>I second this. We show warning counts on an internal tinderbox and it
>just makes them artificially high. More "harmless" warnings means it's
>easier to miss the harmful ones.
>
>email@hidden wrote on 5/16/05, 1:20 PM:
>
> > We're going to have to stay on GCC 3.3 for a while. Would it be
> > possible for you to give us a way to selectively silence that
> > warning? In a project with 100 targets this warning generates up to
> > 300 extra lines in the parsed build output pane... We would have to
> > patch nightly build scripts to ignore the warning, et.c., et.c...
>
>--
>Mike Pinkerton
>Mac Weenie
>email@hidden http://people.netscape.com/pinkerton/
_______________________________________________
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