This is a bit of a follow-on question, related to an answer I saw on another question I was reading on stackoverflow. If I wish to disable overflow-checking for a specific function (per this question), will this code cause the overflow-checking to suddenly become enabled after running the function, even if it wasn't previously enabled in compiler options or code?
{$OVERFLOWCHECKS OFF}
// function here
{$OVERFLOWCHECKS ON}
Do I need to combine this with an IFOPT block (akin to this example perhaps?) to return the overflow-checking to the previous state (so as to not accidentally enable overflow checking on non-debug builds)? Or are the two different, and this be sufficient? Bonus: If I do need IFOPT, what would the specific syntax be for disabling overflow checking conditionally?