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

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

Xiao_Cheng_W_
Principiante
377 Vistas

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 Responder
TimP
Colaborador Distinguido III
377 Vistas

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

Responder