MTL: 'debug assertion failed' -- work-around

View: New views
1 Messages — Rating Filter:   Alert me  

MTL: 'debug assertion failed' -- work-around

by Anthony Lock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/