Mohammad wrote:
> I have noticed the development version of gfortran (i.e. 4.8) parses the -J switch differently from 4.7
> Assuming the .mod files are in "obj/debug" directory, calling gfortran as below
>
> Format 1: gfortran -Jobj/debug/ .... fails
> Format 2: gfortran -Jobj/debug .... works
>
> Using the first syntax, gfortran complains that : "Nonexistent directory obj/debug/".
That's a side effect of adding a warning for nonexisting directories
(before there wasn't one). Unfortunately, - on Windows - the used
library function doesn't handle trailing "/" or "\". (Hence, it works
under Linux.)
Note: It is much better report bugs either by filling a PR yourself or
by writing to gfortran's mailing list. Postings to comp.lang.fortran
will easily be overlooked.
Tobias
* I have now filled a PR:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55919