Re: [Doxygen-users] Error in file XX.f90 line:3468, state 4
Brought to you by:
dimitri
From: Albert <alb...@gm...> - 2014-05-13 11:13:04
|
Hi Fabian, It is always hard to find these kind of errors. What I do is that I reduce the file and see what happens (good old trial and error removing half of the file etc.). Is it possible for you to post the file? (I could have a look in the evening. Albert On Tue, May 13, 2014 at 1:07 PM, Fabian Nick <fab...@sc... > wrote: > Hi Albert, > > no the Prepassing line is not present. Just "preprocessing..." and > "parsing..." > I tried the extra line starting with "!" anyway, but it didn't help. > > Using 1.8.7 didn't help either, however the error is now reported in line > 3467 (as opposed to 3468 before). > > And yes, the file does compile properly. > Are there any constructs (like strings containing '!' in the source) I > could look out for? > > Regards, > Fabian > > ----- Original Message ----- > > From: "Albert" <alb...@gm...> > > To: "Fabian Nick" <fab...@sc...> > > Cc: dox...@li... > > Sent: Tuesday, 13 May, 2014 12:55:10 PM > > Subject: Re: [Doxygen-users] Error in file XX.f90 line:3468, state 4 > > > > > > > > > > > > > > > > > > Hi Fabian, > > > > The line number is the number where it saw a problem and in this case > > this is when the file has been completely parsed. > > The state 4 means an error with SubprogBody, so something not ended > > properly (I assume the file compiles properly). > > > > You are using version 1.6.1 and the current version is 1.8.7 so an > > upgrade would certainly help. > > During the run does it say something about prepassing XX.f90 ? > > so like: > > Reading .../XX.f90 > > Prepassing fixed form of .../XX.f90 > > Parsing file XX.f90 > > > > The line > > Prepassing fixed form of .../XX.f90 > > should not be present, if present try to place a ! as fist line in > > the XX.f90 file. > > > > > > Anyhow upgrading to 1.8.7 is a very good idea. > > > > > > Albert > > > > > > > > > > > > > > > > On Tue, May 13, 2014 at 11:46 AM, Fabian Nick < > > fab...@sc... > wrote: > > > > > > Hi everyone, > > > > when trying to run doxygen on a large (Fortran-)project, I get the > > "Error in file XX.f90 line:3468, state 4" error. The interesting > > thing is that the file only has 3466 lines... > > The file is in fixed format. Somewhere on the web it was said that > > enabling the C-preprocessor might help but it doesn't in my case. I > > also read that there was a bug which was fixed in version 1.5.6 (I > > think), however I'm using version 1.6.1. > > > > Any advice on what I could try? > > > > Regards, > > Fabian > > > > > ------------------------------------------------------------------------------ > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For > > FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > _______________________________________________ > > Doxygen-users mailing list > > Dox...@li... > > https://lists.sourceforge.net/lists/listinfo/doxygen-users > > > > > |