This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22133] In MinGW trailling slash forward not allowed in include path
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Feb 2011 13:15:25 +0000
- Subject: [Bug c/22133] In MinGW trailling slash forward not allowed in include path
- Auto-submitted: auto-generated
- References: <bug-22133-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22133
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |ktietz at gcc dot gnu.org
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 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.