* comments continuing with -cpp
@ 2017-03-03 2:35 Klint Gore
0 siblings, 0 replies; only message in thread
From: Klint Gore @ 2017-03-03 2:35 UTC (permalink / raw)
To: fortran
Hello All,
I've run into an issue with a fortran comment line that ends with the cpp continuation character. The next line is treated as a continuation of the comment. Is this expected?
The following when compiled with -cpp produces no output. Ifort with -fpp produces output. tested with gfortran versions 4.8.4 (linux), 5.4.1 (win)
program blah
real :: a,b
! look for things that end in a \
write(*,*) "hello world"
end program
thanks,
Klint.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-03 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 2:35 comments continuing with -cpp Klint Gore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).