Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 1 Mar 2001 22:52:12 -0500 From: Christopher Faylor To: gcc-gnats AT gcc DOT gnu DOT org, cygwin AT cygwin DOT com Subject: Re: Cygwin testsuite regressions: -dirafter and system files Message-ID: <20010301225212.A7621@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: gcc-gnats AT gcc DOT gnu DOT org, cygwin AT cygwin DOT com References: <20010302031339 DOT 21858 DOT qmail AT sourceware DOT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <20010302031339.21858.qmail@sources.redhat.com>; from David.Billinghurst@riotinto.com on Fri, Mar 02, 2001 at 03:13:39AM -0000 On Fri, Mar 02, 2001 at 03:13:39AM -0000, David DOT Billinghurst AT riotinto DOT com wrote: >The errors occur because /usr/include/sys/types.h is not treated as >system header. To be treated as a system header /usr/include must be >referenced in the specs using -isystem /usr/include, but it is >referenced using -dirafter /usr/include. > >>How-To-Repeat: > >>Fix: >There are at least two fixes. > >1. Treat paths given with -dirafter as system files, see >http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01742.html. I can confirm >this bootstraps and fixes the regressions. This change is relatively >safe, as only a couple of targets use -idirafter. Yeah, and if someone approves my patch, I'll check it in. I think it is the correct fix. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple