This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37032] including "file.F90" - no CPP processing



------- Comment #3 from kargl at gcc dot gnu dot org  2008-08-05 21:17 -------
(In reply to comment #1)
> 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).
> 

The standard simply says the text in file2.F95 is included
at the location of the include line.  It does not and suppose
the standard will never discuss whether file2.F95 should be
pre-processed before inclusion.

This looks like pilot error in that Fortran's INCLUDE does not
mean the same thing as C's #include.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]