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

Unvalidated Value....Which Can Be Used in Loop Condition Expression

mcupples
Beginner
493 Views
Received the following diagnostic error:

"error #12306: unvalidated value is received from call to an external function at (file:sqp_MAP.f line:283) which can be used in loop condition expression"

Can you provide anexample for precisely how one should go about validating a value before using it in a loop condition expression?

Michael Cupples
0 Kudos
2 Replies
Steven_L_Intel1
Employee
493 Views
Would I be correct in assuming that you enabled the "Source Checker" diagnostics to get this message? Can you show the call, declaration of the arguments, and the called function and use line?
0 Kudos
Michael_Cupples
Beginner
493 Views
PS.

The error messages that I provided in the previous reply were generated in 11.1,067. I am using MS Visual Studio 2008 Standard.

Thanks.

Michael Cupples
0 Kudos
Reply