c++ - _SECURE_SCL_THROWS not supported in VS2012 -


i upgrading projects @ work vs2010 vs2012 (toolset 10.0 toolset 11.0).

i have following macro:

#define _secure_scl_throws 1

originally had removed (commented out) project build since throw error

error c1189: _secure_scl_throws removed vs2012

however, project manager against , feels exception catch crucial our product's integrity.

i wondering if there out there had encountered error , had found replacement or workaround keep in project (i doubt latter since has been removed).

note: not sure if helps comment directly above macro describing (i'm new job , don't understand myself).

`//defines whether incorrect use of checked iterators causes  // exception or program termination. if defined 1, out  // of range iterator use causes exception @ runtime. if defined // 0, program terminated calling invalid_parameter.  // default value _secure_scl_throws 0, meaning  // program terminated default.` 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -