Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26758 Discussions

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

xuwanqing
Beginner
260 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
Valued Contributor III
244 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