The error message of using sizeof() as aktual argument to a default-kind
integer is not very clear.

One should state in the manual not only that an INTEGER is returned (which
implies default kind), but also that depending on the system the integer could
be of non-default kind.
http://gcc.gnu.org/onlinedocs/gfortran/SIZEOF.html

The size is probably "size_t" alias ISO_C_Binding's c_size_t, which shows the
advantage of having C Bindings.


-- 
           Summary: Document integer KIND of SIZEOF()
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32902

Reply via email to