- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
The IFort compiler 12.1.0.233, Win7, IA32 gives a correct message for the following code, but the line number reported would be more useful if it pertained to the line with the error.
[fortran]subroutine sub(x,n) integer m,n real x(n) real y(m) ! <
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
2 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thanks - I agree. This has been reported to the developers as DPD200174426.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Because of the way the compiler does the processing, it is difficult to point to the COMMON statement as a source of the error. But what we did do was reword the error message to make it clearer as to what to look for:
[plain]
t.f90(2): error #6219: This variable, used in a specification expression, must be a dummy argument,
a COMMON block object, or an object accessible through host or use association
integer m,n
--------^
[/plain]
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla