Re: [Openexr-devel] Pulling my hair out: switching projecttoVS2008breaks
From:
Borislav Trifonov
Subject:
Re: [Openexr-devel] Pulling my hair out: switching projecttoVS2008breaks OpenEXR :(
Date:
Fri, 24 Oct 2008 22:18:38 -0700
>From what I understand, if I use this setting I need to add it to the OpenEXR as well. I'll try that.
----- Original Message ----- From: Bob Friesenhahn <address@hidden> Date: Friday, October 24, 2008 10:04 pm Subject: Re: [Openexr-devel] Pulling my hair out: switching projecttoVS2008breaks OpenEXR :( To: address@hidden Cc: address@hidden
> On Sat, 25 Oct 2008, address@hidden wrote: > > > It turns out that having _SECURE_SCL=0 defined in my project > (not even in the OpenEXR project) is what OpenEXR couldn't > handle--for whatever reason I cannot imagine. What's going on > here? I need this setting as otherwise the slowdown from the > bounds checking the Visual Studio nanny does on STL vectors in > opposition to the standard is unacceptable. > > Google says: > > http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=352481 > > "Specifing a project with #define SECURE_SCL 0 which uses > std::vector<..> may result into a case in which the > application > overwrites memory." > > Bob > ====================================== > Bob Friesenhahn > address@hidden, > http://www.simplesystems.org/users/bfriesen/GraphicsMagick > Maintainer, http://www.GraphicsMagick.org/ > >