[Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Dec 4 23:02:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55534

--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> 2012-12-04 23:02:29 UTC ---
It would be nice if somebody could explain how to handle the
setting of options.

In the meantime, since this warning may generate lots of output,
I disabled it:

Index: gcc/fortran/scanner.c
===================================================================
--- gcc/fortran/scanner.c       (revision 194167)
+++ gcc/fortran/scanner.c       (working copy)
@@ -326,7 +326,7 @@
       else
        {
          /* FIXME:  Also support -Wmissing-include-dirs.  */
-         if (warn)
+         if (0)
            gfc_warning_now ("Nonexistent include directory \"%s\"", path);
        }
       return;



More information about the Gcc-bugs mailing list