GNOME Bugzilla – Bug 568966
Fortran: Type definition with BIND(C) doesn't work
Last modified: 2010-12-19 21:12:07 UTC
This source code: !> MY_MOD - My Fortran module ! !> This is my module, the BIND(C) after the type makes doxygen fail MODULE MY_MOD IMPLICIT NONE TYPE, BIND(C) :: MY_DATE INTEGER :: YEAR !< Year, e.g. 2007. INTEGER :: MONTH !< Month of year, 1-12. INTEGER :: DAY !< Day of monthh, 1-31. END TYPE TIME_STAMP END MODULE MY_MOD doesn't work, output: Preprocessing /dvl/users/berggrbe/oscar/odfile/src/lib/ODFortran/my_mod.f90... Parsing file /dvl/users/berggrbe/oscar/odfile/src/lib/ODFortran/my_mod.f90... ******************************************************************** Error in file /dvl/users/berggrbe/oscar/odfile/src/lib/ODFortran/my_mod.f90 line: 15, state: 16 ********************************************************************
Patch in PR632543 - either this or the other should be closed as dupe.
*** This bug has been marked as a duplicate of bug 632543 ***