From: SourceForge.net <no...@so...> - 2005-07-01 03:59:11
|
Bugs item #1230718, was opened at 2005-07-01 13:55 Message generated for change (Comment added) made by leonard You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1230718&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Leonard (leonard) Assigned to: Nobody/Anonymous (nobody) Summary: Trailing slash in -I path is broken Initial Comment: With MinGW-4.1.0's gcc a trailing slash at the end of -I include paths causes a problem. (was working in MinGW-3.1.0) How to repeat: copy con: test.c #include "inc.h" ^Z md inc copy con: inc\inc.h #warning "inc.h was included!" ^Z gcc -E -Iinc test.c gcc -E -Iinc/ test.c The second form (-Iinc/) fails with "inc.h: No such file or directory" ---------------------------------------------------------------------- >Comment By: David Leonard (leonard) Date: 2005-07-01 13:59 Message: Logged In: YES user_id=10218 Running gcc -v reveals: ignoring nonexistent directory "inc/" Same thing happens with incBut, inc/. and inc\. are both OK. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1230718&group_id=2435 |