Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Passing different kind integers

$
0
0

Hi,

When I compile the attached program, the following messages are displayed:

warning #6075: The data type of the actual argument does not match the definition.   [A]
warning #5448: In the call to SUB1, actual argument #1 does not match the type and kind of the corresponding dummy argument.

Does anyone know why this is just a warning and not an error?  I made a similar test where I passed real variables that had a different kind, and there was an error as expected.

Roman

AttachmentSize
Downloadtest-integer.f90639 bytes

Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>