------- Comment #1 from burnus at gcc dot gnu dot org  2008-08-05 19:22 -------
Cf. multiple topic PR 35707.

The problem is that
  include 'file2.F95'
is not processed through CPP. I'm not sure whether it should and when it should
(file extension .F/F90/F95/F03/F08/FPP/FOR/fpp, always, or never).

One possibility is to use:
#include "file2.F95"
in this case CPP includes the file before it hands it to the Fortran part of
the compiler.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Multi-line comments in an   |including "file.F90" - no
                   |included file trigger       |CPP processing
                   |invalid character           |


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

Reply via email to