- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently, with the command-line option
-diag-enable sv3
enabled, the following line of code (write an empty character to stdout) gives a warning:
write(*,*) ""
warning #12137: [SV] length of substring is non-positive
Is this not good? And if so, why?
The following (Explicitly writing a carriage return) does not generate a warning:
write(*,*) char(13)
and neither does (with space):
write(*,*) " "
I also get a lot of the following warnings (related to module procedure interfaces):
warning #12129: [SV] undeclared procedure "matrix_trace_i"
warning #12129: [SV] undeclared procedure "matrix_trace_r"
these point to the line where the generic subroutine (matrix_trace) is called.
matrix_trace is defined in a module as follows:
interface matrix_trace
module procedure matrix_trace_r, &
matrix_trace_i
end interface matrix_trace
Kind regards,
Wim
-diag-enable sv3
enabled, the following line of code (write an empty character to stdout) gives a warning:
write(*,*) ""
warning #12137: [SV] length of substring is non-positive
Is this not good? And if so, why?
The following (Explicitly writing a carriage return) does not generate a warning:
write(*,*) char(13)
and neither does (with space):
write(*,*) " "
I also get a lot of the following warnings (related to module procedure interfaces):
warning #12129: [SV] undeclared procedure "matrix_trace_i"
warning #12129: [SV] undeclared procedure "matrix_trace_r"
these point to the line where the generic subroutine (matrix_trace) is called.
matrix_trace is defined in a module as follows:
interface matrix_trace
module procedure matrix_trace_r, &
matrix_trace_i
end interface matrix_trace
Kind regards,
Wim
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The warnings are incorrect - please report them to Intel Premier Support.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page