From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 739 invoked by alias); 5 Dec 2012 21:44:04 -0000 Received: (qmail 702 invoked by uid 48); 5 Dec 2012 21:43:43 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran Date: Wed, 05 Dec 2012 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: anlauf at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00498.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55534 --- Comment #3 from Harald Anlauf 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...