[patch, fortran] PR36457: option '-idirafter' undefined for fortran

Tobias Burnus burnus@net-b.de
Tue Dec 9 19:15:00 GMT 2008


Daniel Franke wrote:
> Attached patch fixes an issue on cygwin where the 'idirafter' option is 
> passed/added by default.
> 
> 
> 2008-12-07  Daniel Franke  <franke.daniel@gmail.com>
> 
> 	PR 36457/fortran
> 	* lang.opt: Added option idirafter.
> 	* cpp.h (gfc_cpp_add_include_path_after): New prototype.
> 	* cpp.c (gfc_cpp_handle_option): Recognize and handle OPT_dirafter.
> 	(gfc_cpp_add_include_path_after): New, adds user-defined search path after
> 	any other paths.
> 	* invoke.texi (idirafter): New.
> 	(no-range-check): Fixed entry in option-index.
> 
> 
> Tested on cygwin by Angelo Graziosi and on i686-pc-linux-gnu by me.
> 
> Ok for trunk?

OK. Thanks for the patch.

Tobias



More information about the Fortran mailing list