delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/17/01:57:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [203.26.31.119]
From: "Gareth Pearce" <tilps AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: suggestion for cygwin gcc-3.2
Date: Sat, 17 Aug 2002 05:57:43 +0000
Mime-Version: 1.0
Message-ID: <F210bPqPDBTBYFRQ3BP00003e4a@hotmail.com>
X-OriginalArrivalTime: 17 Aug 2002 05:57:44.0702 (UTC) FILETIME=[018919E0:01C245B3]

>This may generate some flames, so flame away if you want to.

Hmm I expected a few as well, but no replys - I better fix that at least.
>
>I don't know about anyone else, but there is one particular "feature"
>of the new gcc that is driving me crazy.  I refer to:
>
>"warning:  changing search order for system directory..."
I dislike this too, as you might of noticed already...
<snip>
>Therefore, I suggest that this warning be disabled by default and
>enabled only on a stricter warning level.  I ask here because I know
>it is useless to ask on the gcc list - seeing as how they're going to
>do it their way and the rest of us be damned.  If you need a patch, I
>will provide one.

Having read lots of discussion and the large levels of apathy, I agree 
mostly.

However I disagree over the best method of implementing this.
Here I present (re-present) my solution

1. Ignore all -I which are targeting system directories.
2. if -fallow-header-override then ignore rule 1 but dont warn.
3. if -Wheader-override then give warning in both case 1 and 2.

After all that discussion, they did convince me that -I targeting system 
directories is 'a bad thing(tm)' however their approach to dealing with it 
is very much non-userfriendly.  I believe my solution fixes that.

Gareth - who would rather Nicholas's method rather than nothing however.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019