What is the best practice at Fortran for suppressing warning messages like:
remark #7712: This variable has not been used.
only for one specific variable (to represent a function in the API that we do not want to break)?
Note. I do not want to suppress all warnings for the file
Note2: Something similar for gcc: __attribute__((__unused__))or another common C practice with MACRO
__attribute__((__unused__))
Note3: I am particularly interested in ifort, but a multicompiler would be better.
Intel Fortran ( ), . - , :
if (.false.) unused=1
- :
/warn:all,nounused
Linux:
-warn all,nounused
Microsoft Fortran UNUSEDQQ - UNUSEDQQ, , . Intel Fortran .
UNUSEDQQ
Source: https://habr.com/ru/post/1546826/More articles:Packing an application in docker that can be configured at run time - dockerstdClass vs array. What is recommended? - arrayshow to isolate dependencies in a gazebo - javascriptMultiple versions of the same JS library with Bower and django pipeline - bowerCreate a weekly view, for example, Google Calendar using QT - qtIfort suppresses unused warning variable leave all others intact - fortranDocker without https / SSL verification? - dockerng-submit does not prevent sending - angularjsAn elastic fuzzy match with exact matches showing the first - phpmessage = "'undefined' не является функцией (оценка" bookview.open() ")" в титане - titaniumAll Articles