After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521863 - Fortran: Comment continued with continuation character, fixed format code
Fortran: Comment continued with continuation character, fixed format code
Status: RESOLVED DUPLICATE of bug 534785
Product: doxygen
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-03-11 21:13 UTC by albert
Modified: 2012-11-18 11:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description albert 2008-03-11 21:13:32 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:
Comment 1 Alin M Elena 2008-03-24 22:00:14 UTC
1. what compiler did you use to compile that?
2. what standard did it suppose to respect?

Alin
Comment 2 albert 2008-03-25 18:02:51 UTC
(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
Comment 3 Alin M Elena 2008-03-25 18:48:00 UTC
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.
Comment 4 Oleg Batrashev 2008-05-25 16:53:59 UTC

*** This bug has been marked as a duplicate of 534785 ***