If local variableshave a same name in different blocks, twowarnings (#1420 and #1429)will appear. ex:
Is there any method to disable these two warnings?
On linux to turn a warning into a remark you use the -wr switch. I believe if you add -wr1420 -wr1429 to your command line, the warnings will disappear. Give it a try and let me know. On windows, I believe the equivalent switch is -Qwr
Is there some way to disable warnings for only a specific file during compilation? Is there an equivalent to
#pragma warning( disable : 1420)
for the intel compiler?