I use ifort and gfortran to compile my Fortran program.
However, I also use a source of colleagues, and it has many unused variables. How can I suppress them for compilation because they are not an error?
However, I do not want to disable -pedanticit -stanin the compiler options, and therefore I want to receive all the other warnings.
-pedantic
-stan
greetings and thanks for the help
Using ifort try -warn [no]unused.
-warn [no]unused
, , . , ; .
, High Performance Mark, - .
, gfortran, -Wunused-### gcc: . , -Wno-unused-variable , .
-Wunused-###
-Wno-unused-variable
[...] gfortran, Intel Fortran?
.
Source: https://habr.com/ru/post/1546827/More articles:stdClass 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 - qtSuppressing an Unused Variable Warning - 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() ")" в титане - titaniumJoining HIVE Doesn't Work - hbaseAll Articles