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

About Warning LNK4217

phost75
Beginner
420 Views

I use C# call fortran,here is my fortran sub program

module modall

use,intrinsic :: iso_c_binding

type,bind(c) :: input

real(c_float) :: x(3)

real(c_float) :: y(3)

end type

type(input),bind(c,name="input") :: ip

!DEC$ ATTRIBUTES DLLEXPORT:: ip

end module

 

This subroutine worked and I can interop with c#.However i got a waning message LINK : warning LNK4217: symbol 'input' defined in 'modall.obj' is imported by 'step.obj' in function 'step' 

Is there anything  wrong ? Thanks!

 

0 Kudos
0 Replies
Reply