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

How do I suppress forrtl: warning (402) messages

Dave_M_
Beginner
845 Views
What compiler setting do I change to suppress forrtl: warning (402) messages. I somehow turned these on, and now I want to turn them off and can't seem to find the appropriate compiler setting.
0 Kudos
1 Solution
Steven_L_Intel1
Employee
844 Views
I had to go look this up - 402 is "In call to SUB, an array temporary was created for argument #1". Turn this off by removing /check:arg_temp_created or, in Visual Studio, Run-Time > Check for actual arguments using temporary storage.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
845 Views
I had to go look this up - 402 is "In call to SUB, an array temporary was created for argument #1". Turn this off by removing /check:arg_temp_created or, in Visual Studio, Run-Time > Check for actual arguments using temporary storage.
0 Kudos
Reply