Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

optional parameter error

$
0
0

my new version compiler is ifort version 19.0.2.187

my old version compiler is ifort version 15.0.3

system is linux(redhat)

my code use old compiler and link ,code run is right,

but we change to new compiler ,compiles have waring message ,and my cod run is wrong .

following parameter trc, channel is optional   default trc = 1 and channel = 0

following is new compiler waring:

ifort -c head_sublibf.f90 -std03 -fPIC -assume nounderscore -assume bscc -assume byterecl -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fpp
head_sublibf.f90(32): warning #8809: An OPTIONAL or EXTERNAL dummy argument to a BIND(C) procedure is not interoperable.   [TRC]
    integer( c_int ) function hdd_geti_by_no(no,head_buffer,result,trc,channel ) bind( C )

head_sublibf.f90(32): warning #8809: An OPTIONAL or EXTERNAL dummy argument to a BIND(C) procedure is not interoperable.   [CHANNEL]
    integer( c_int ) function hdd_geti_by_no(no,head_buffer,result,trc,channel ) bind( C )

please help me ,thank!


Viewing all articles
Browse latest Browse all 2746

Trending Articles



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