Improper use of intrinsic function

The type of an actual argument does not match the corresponding formal parameter at a subroutine call.

In this case, the actual argument is an intrinsic function whose interface does not match that of the formal parameter.

ID

Observation

Description

1

Call site

The place the function was called

Example

          
subroutine icallyou(f)
interface
integer function f(j)
real :: j
end function f
end interface
print *,f(3.14)
end

program test
intrinsic sin
call icallyou(sin)
end
        

Copyright © 2010, Intel Corporation. All rights reserved.