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

Run time checks at the project level vs at the visual studio tools -> options level

Xiao_Cheng_W_
Beginner
183 Views

Run time checks e.g.

/check:uninit /check:pointer /check:bounds

can be specified at the project level for each FORTRAN project, or in Visual Studio 2012 in the TOOLS -> Options -> Intel Composer XE -> Visual Fortran -> Compilers -> Default options.

We thought the settings at the project level would overwrite the "Default options" at the TOOLS -> Options level, but after some testing this doesn't seem to be the case, which doesn't seem to make much sense.

Could anyone please confirm that if these run time checks are set in TOOLS -> Options -> Intel Composer XE -> Visual Fortran -> Compilers -> Default options:

/check:uninit /check:pointer /check:bounds

then even if the equivalent settings at the project level are set to

/check:nouninit /check:nopointer /check:nobounds

for every Fortran project in the solution

these run time checks are still performed during running?

Thanks!

0 Kudos
1 Reply
TimP
Honored Contributor III
183 Views

Your build log should show options in effect with last one governing in case of conflict.

0 Kudos
Reply