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



--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> 2012-12-05 21:43:43 
UTC ---

(In reply to comment #2)

> (See PR 54033 for the patch which originally added this feature.)

> 

> Untested patch.



With this patch, the warning is also gone.  :-)



However, now using the option -Wmissing-include-dirs

yields the message:



f951: warning: command line option '-Wmissing-include-dirs' is valid for

C/C++/ObjC/ObjC++ but not for Fortran [enabled by default]



Which might not be intended, although I can live with it. :-)



I addition to the patch in comment #2 tried:



Index: gcc/fortran/lang.opt

===================================================================

--- gcc/fortran/lang.opt        (revision 194167)

+++ gcc/fortran/lang.opt        (working copy)

@@ -254,6 +254,10 @@

 Fortran Warning

 Warn on intrinsics not part of the selected standard



+Wmissing-include-dirs

+Fortran Warning

+; Documented in C

+

 Wreal-q-constant

 Fortran Warning

 Warn about real-literal-constants with 'q' exponent-letter





Now the above warning is gone, but some piece is still missing...

Reply via email to