------- Comment #4 from godom at twinbee dot com 2008-08-05 21:30 ------- (In reply to comment #3) > (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. >
Does the Fortran standard mention preprocessing at all? That works in g95, but we are beginning to move away from that. Is a copy of the standard freely available? I would like for this to work with as many different compilers and systems as possible. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37032