#ifdef _DEBUG
#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
+//static char THIS_FILE[] = __FILE__;
void _DebugBreak(void)
{
{
if (msg == NULL) {
printf("ASSERT -- %s occured on line %u of file %s.\n",
- assert, line, file);
+ (CHAR *)assert, line, file);
} else {
printf("ASSERT -- %s occured on line %u of file %s: Message = %s.\n",
- assert, line, file, msg);
+ (CHAR *)assert, line, file, (CHAR *)msg);
}
}