Thread: Zone crash
View Single Post
  #2  
Old 10-30-2013, 12:44 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

No, that's simply the CRT debug iterator throwing a warning. Technically, it could lead to unsafe scenarios however in this case it does not. In debug mode, you can simply ignore this error, fix the usage of stl, or disable CRT entirely (or change the behavior) using this in the main function:

In general, compile in RelWithDebug to prevent this issue, or if you want to run in debug for testing a crash or whatever without having this box popup, look into something like this: http://msdn.microsoft.com/en-us/library/1y71x448.aspx

Code:
	_CrtSetReportMode( _CRT_WARN, 0 );
	_CrtSetReportMode( _CRT_ASSERT, 0 );
	_CrtSetReportMode( _CRT_ERROR, 0);
Reply With Quote