'debug assertion failed' -- work-around
Anthony Lock <[email protected]> Sat, 10 Jan 2009 21:10:01 +0000
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1150577773== Content-Type: multipart/alternative; boundary=000e0ce0d194fe43030460274ba1 --000e0ce0d194fe43030460274ba1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit One way to get around the 'debug assertion failed' error I encountered when running ITL on MS Visual Studio 2008 is given below. [See my posting of 2009-01-05 and that of Sergey Avdeev on 2008-11-03.] In order to get ITL to work, I have included the following preprocessor macros: 1. _HAS_ITERATOR_DEBUGGING=0 2. _SECURE_SCL=0 In the Properties page for the project, add these to: 'C/C++ -> Preprocessor -> Preprocessor definitions' This isn't ideal, but it works. --000e0ce0d194fe43030460274ba1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>One way to get around the 'debug assertion failed' error I enc= ountered when running ITL on MS Visual Studio 2008 is given below. [S= ee my posting of 2009-01-05 and that of Sergey Avdeev on 2008-11-03.]</div>= <div> <br></div><div>In order to get ITL to work, I have included the following p= reprocessor macros:</div><div><br></div><div>1.<span class=3D"Apple-tab-spa= n" style=3D"white-space:pre"> </span>_HAS_ITERATOR_DEBUGGING=3D0</div><div>= 2.<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>_SECURE_= SCL=3D0</div> <div><br></div><div>In the Properties page for the project, add these to: &= #39;C/C++ -> Preprocessor -> Preprocessor definitions'<br></div><= div><br></div><div>This isn't ideal, but it works.</div> --000e0ce0d194fe43030460274ba1-- --===============1150577773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/ --===============1150577773==--