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

error #6404: This name does not have a type, and must have an explicit type. [FLOAT]

xuwanqing
Beginner
546 Views

when i try to coupling two projects,i find it.I use vs2019+ivf .But it's strange that the word can be run in old project,after i coupling,the error come out .

example:

integer Tchfstart

IF(X.GE.FLOAT(Tchfstart)) THEN

 

why?

 

0 Kudos
1 Reply
Arjen_Markus
Honored Contributor I
530 Views

You didn't tell us with what compiler the old project accepted the code, but FLOAT is not a standard function. You are looking for REAL. It may have been some legacy function in the other compiler. Or perhaps the new project includes options for a stricter check on the standard?

Reply