- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Balises:
- Intel® Fortran Compiler
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The warnings are incorrect - please report them to Intel Premier Support.
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable