Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error #8055

Tai_Q_
Beginner
1,648 Views

Error 8055 occurred in my code.

program main
    integer,allocatable::a(:)
    integer n
    n=4
    allocate(a(n))
    call func(a,n)
    endprogram
    
    subroutine func(a,n)
    integer n
    integer,target::a(n)
    a(1)=1
    endsubroutine

Error    1     error #8055: The procedure has a dummy argument that has the ALLOCATABLE, ASYNCHRONOUS, OPTIONAL, POINTER, TARGET, VALUE or VOLATILE attribute. Required explicit interface is missing from original source.      

The above is just demonstration I wrote for my original code.

 

0 Kudos
1 Reply
Reply