- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I was wondering how easy it would be to have the compiler distinguish between
remark #7712: This variable has not been used. [BDEP]
and
remark #....: Thisdummy argumenthas not been used. [BDEP]
We have many "stub" routines which do nothing compared to the actual routines, so we get a lot of the #7712 messages, because of the unused dummy arguments,but it would be A Nice Thing if it were possible to supress these while retaining them for unused local variables which I could easily spot and then tidy up the code.
Just a thought.
Les
remark #7712: This variable has not been used. [BDEP]
and
remark #....: Thisdummy argumenthas not been used. [BDEP]
We have many "stub" routines which do nothing compared to the actual routines, so we get a lot of the #7712 messages, because of the unused dummy arguments,but it would be A Nice Thing if it were possible to supress these while retaining them for unused local variables which I could easily spot and then tidy up the code.
Just a thought.
Les
- Marcas:
- Intel® Fortran Compiler
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I have entered a feature request (DPD200149295) for this on your behalf.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Quoting - Steve Lionel (Intel)
I have entered a feature request (DPD200149295) for this on your behalf.
This would be really useful. I have resorted to adding lines like dummy = X in subroutines to eliminate the warnings.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora