Assertion failure in isctype.c
Posted on 2005-02-28
I'm currently using VC 7.1 to develop a Win32 application, everything is working fine with the exception that I am recieving an assertion failure at a point in my program. If I debug, I get taken to the following function within "isctype.c"
#if !defined (_MT) || defined (_DEBUG)
int __cdecl _chvalidator(
_ASSERTE((unsigned)(c + 1) <= 256);
return ( _pctype[c] & mask);
The comment above the function tells me that it is checking to make sure that C code that includes ctype.h is not compiled using "/D_DEBUG /ML". Is there a simple explanation for this? And if possible what is the work around?
I'm presuming that I might have a problem with my projects configuration, if anyone could help me solve this I would be most appreciative!