From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22899 invoked by alias); 25 Feb 2011 13:15:31 -0000 Received: (qmail 22879 invoked by uid 22791); 25 Feb 2011 13:15:30 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Feb 2011 13:15:26 +0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/22133] In MinGW trailling slash forward not allowed in include path X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: ktietz at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 25 Feb 2011 13:59:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg02864.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22133 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |ktietz at gcc dot gnu.org --- Comment #8 from Kai Tietz 2011-02-25 13:15:01 UTC --- (In reply to comment #0) > For a detailed description of this bug see: > > https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1053052&group_id=2435 > > In short the file c-incpath.c (near line 331) needs to be modified to remove the > trailing slash if HAVE_DOS_BASED_FILE_SYSTEM is true. It seems on newer windows > systems the trailing slash starts to become a problem. My current makefiles all > have trailing slashes for each include path to support compilers that require > the trailing slash. As a result I can't upgrade to the latest MinGW gcc build. > > I classified this as minor since it effects portability of code. Does the patch from Nathan Froyd fixed the issue for you? My tests have shown that issue is solved by it, but I would like that you can confirm this.