[Bug fortran/27653] gfortran does not search current directory for INCLUDE files
jim at dishaw dot org
gcc-bugzilla@gcc.gnu.org
Thu May 18 04:26:00 GMT 2006
------- Comment #4 from jim at dishaw dot org 2006-05-18 04:26 -------
(In reply to comment #3)
> Anyways if g77 behaviors the same as gfortran, this might not really be an
> useful thing to do as you can always use -I.
>
> PR 20811 changed the behavior of gfortran to this current behavior to be
> backwards compatiable with g77 so this is not a bug.
>
Adding -I. as an option is a bit kludgy, but it is a small price to pay to
maintain backwards compatibility. The difference in behaviour between USE and
INCLUDE can cause confusion.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27653
More information about the Gcc-bugs
mailing list