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

Error #8055: The procedure has a ... VALUE... Required explicit interface is missing from original source.

$
0
0

I just downloaded and installed the latest update(w_fcompxe_2015.2.179) and am now getting an error that I did not get when using the version from October of 2012(w_fcompxe_novsshell_2013.1.119).

I uninstalled the latest and went back to October 2012 version and do not get the error.

Then installed the latest and get the error again. It appears that something has changed. Do I need to declare the pass by value differently now?

Below is the error I get with the latest version of the Intel Fortran compiler:

Error    3     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.   [DATE_ADDR]

Here is the code that calls the function and then the function below:

CHARACTER (LEN=11) :: v_bcdmdhm,tmp_bcdmdhm

tmp_bcdmdhm = v_bcdmdhm( date_addr )

!Get 2 BYTES (4 DIGITS) from Binary Data and return as integer*4

FUNCTION  v_bcdmdhm( addr )
    !DEC$ ATTRIBUTES VALUE :: addr
    IMPLICIT NONE

    CHARACTER(len=11) :: v_bcdmdhm
    INTEGER(4)        :: addr

    CHARACTER (LEN=4)  :: dt
    CHARACTER (LEN=11) :: mdhm
    INTEGER(2)         :: j

    CALL v_ch(addr,dt,4)
    WRITE(mdhm,'(Z2.2,''/'',Z2.2,1X,Z2.2,'':'',Z2.2)')  (dt(j:j),j=1,4)
    v_bcdmdhm = mdhm(1:11)

    RETURN
    END FUNCTION  v_bcdmdhm

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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