Bug 34742 - Document the kind of integer passed for string lengths
Summary: Document the kind of integer passed for string lengths
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2008-01-11 14:45 UTC by Tobias Burnus
Modified: 2008-07-09 22:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-01-29 10:26:40


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2008-01-11 14:45:09 UTC
As requested on the mailing list:

Document the kind of integer passed for string lengths
http://gcc.gnu.org/ml/fortran/2008-01/msg00134.html

| The character length variables you mention are always (for gfortran)
| 32-bit integer signed variables, so if you need to address them in
| gfortran, you can use either integer(kind=4) or, in C99, int32_t
| (found in header inttypes.h).
Comment 1 Francois-Xavier Coudert 2008-01-29 10:26:40 UTC
See PR34528 also.