Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!DDATHD21.BITNET!XBR2D96D From: XBR2D96D@DDATHD21.BITNET (Knobi der Rechnerschrat) Newsgroups: comp.sys.sgi Subject: Fortran Problem Message-ID: <9001180731.aa27771@SMOKE.BRL.MIL> Date: 18 Jan 90 09:00:45 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 Hallo, I've just encountered a problem with the current (3.2) f77 compiler. This may be mainly a documentation problem. It seems there are three ways to specify include files to the compiler. a) VAX/VMS style include: INCLUDE 'file' b) cpp style include: #include "file" c) $include as documented: $include file There are two problems. First it seems that only c) is documented and second (and much more annoying) c) doesn't work verry well with dbx. If you use $include's, the line numbers are incorrectly counted and dbx is more or less useless. It seems for each $include file the internal line numbers of the including file get incremented by the number of lines in the $inluded file, but dbx shows the 'real' line numbers. When using a) or b) everything works fine. Could you please in a future version: - update the documentation. - and/or correct the behaviour of c) With kind regards Martin Knoblauch