------- 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