From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2466 invoked by alias); 4 Dec 2008 00:27:09 -0000 Received: (qmail 32759 invoked by uid 48); 4 Dec 2008 00:25:48 -0000 Date: Thu, 04 Dec 2008 00:27:00 -0000 Message-ID: <20081204002548.32758.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/36457] preprocessing: option -idirafter undefined for fortran In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "billingd at gcc dot gnu dot org" 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: 2008-12/txt/msg00354.txt.bz2 ------- Comment #2 from billingd at gcc dot gnu dot org 2008-12-04 00:25 ------- I can kill this warning if I invoke gfortran with -nostdinc. I would have expected this to be the default. After all, why include C source code or headers in a Fortran file. I will test this patch then ask on fortran@ --- cpp.c 2008-11-21 16:37:52.000000000 +1100 +++ cpp.c.new 2008-12-04 11:13:09.000000000 +1100 @@ -294,7 +294,7 @@ gfc_cpp_option.dump_includes = 0; gfc_cpp_option.working_directory = -1; gfc_cpp_option.no_predefined = 0; - gfc_cpp_option.standard_include_paths = 1; + gfc_cpp_option.standard_include_paths = 0; gfc_cpp_option.verbose = 0; gfc_cpp_option.multilib = NULL; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36457