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

Puzzling compiler message

$
0
0

The following routine calls itself recursively -

I get a WARNING message about incompatible argument types,( line 11)

I don't understand this, since isq+1 and isq are both integer(1), and

inum1 and inum are both integer(1) as well.

 

Do you have any idea why I would see this?

Would it think that isq+1 is a different type?

Of course I could say: isq1=isq+1, then pass that along, if isq1 is also integer(1).

AttachmentSize
Downloadnewsq.f90355 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>