From: Earnie B. <ea...@us...> - 2006-05-17 16:04:30
|
Quoting Keith MARSHALL <kei...@to...>: > Gianluca Sforna wrote: >> It seems that passing to g++ a -I option with a trailing slash like: >> -I"inc/" >> results in the compiler failing to find include files; I did not test >> with gcc but I guess it is the same. > > Is this in MSYS? IIRC, it is a bug in the MSYS path handling logic. > It has been reported before; I don't know when it might get fixed. For > now, the solution is to avoid trailing slashes after `-I path'. > No, it is GCC and fixed already IIRC. The issue is that winders doesn't like c:\path\to\\myfile and chokes. So the fix in GCC would have been to remove the trailing / or \ before suffixing it with the /filename. Earnie Boyd http://shop.siebunlimited.com |