- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code returns an error 8237 on ifx 2025.1
program param_types
type mytype(char_len)
integer, len :: char_len = 80
character(len=char_len) :: char1
character(len=char_len) :: char2, char3
end type
end program param_types
error #8237: The character length in a component declaration shall either be a colon, be an initialization expression, or be a specification expression. [CHAR3]
character(len=char_len) :: char2, char3
------------------------------------^
I don’t think this is bad usage. Is it ?
It should be allowed to chain variables declaration on a single line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no error in the latest VS 2022 with the latest OneAPI in IFX using a stock standard Fortran outline.
It just compiles and runs, suggest update.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no error in the latest VS 2022 with the latest OneAPI in IFX using a stock standard Fortran outline.
It just compiles and runs, suggest update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exact !
With version 2025.3.1, this bug is already corrected.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page