This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/22133] In MinGW trailling slash forward not allowed in include path


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]