https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65387
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- https://gcc.gnu.org/gcc-4.8/porting_to.html suggests to use -ffreestanding Of course, the real fix for this and future issues arising from such mis-use is to make libcpp more general and enable cpp to have a "Fortran mode" (-x fortran) or even compile a Fortran version of cpp (fpp?). This would be a very valuable contribution to GCC and gfortran and, technically, it should be not very difficult: https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps