Which compiler switches are causing this warning, and where do I find them in VS?
warning #10182: disabling optimization; runtime debug checks enabled
It looks like a combination of Debug mode and Optimization turned on, so /dbglibs and /On (n=1,2,..) may be?
/check:stack is the primary one that triggers this. Fortran > Run-time > Check Stack Frame.
Thanks, Steve. This was happening in Release mode, and the /check:stack option was in use.