GNOME Bugzilla – Bug 521863
Fortran: Comment continued with continuation character, fixed format code
Last modified: 2012-11-18 11:10:57 UTC
Please describe the problem: The comment in the module with type iface is probably interpreted as being continued on the next line. Example: MODULE tst TYPE iface REAL, DIMENSION(5) :: var1, ! description var1 & var2, ! description var2 & var3 ! description var3 END TYPE iface END MODULE tst result in the documentation: tst::iface Type Reference Public Attributes REAL, dimension(5) var1 Steps to reproduce: 1. See example above Actual results: See example above Expected results: Type should have 3 variables Does this happen every time? yes Other information:
1. what compiler did you use to compile that? 2. what standard did it suppose to respect? Alin
(In reply to comment #1) > 1. what compiler did you use to compile that? I just compiled it again with the Compaq visual Fortran 6.6 compiler (Update C), windows. By head I also compiled it with the the Intel Fortran 9.1 compiler (Linux) > 2. what standard did it suppose to respect? It is Fixed format code and to the best of my knowledge valid in Fortran 90 and 95 Albert
Here is what my compiler tells about fixed forms fortcom: Warning: cont.f, line 1: Fixed form source is an obsolescent feature in Fortran 95 fortcom: Warning: cont.f, line 1: Fixed form source is an obsolescent feature in Fortran 2003. I do not expect doxygen to support it. Alin p.s. for windows you should try the intel fortran compiler.
*** This bug has been marked as a duplicate of 534785 ***