1
0
Fork 0

(svn r6225) -Codechange: change the warning/error format of strgen to show up

in MSVC 'Task List' as well.
release/0.5
Darkvater 2006-08-29 20:55:25 +00:00
parent aa55d7b47d
commit be1bec145e
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ static void CDECL Warning(const char *s, ...)
va_start(va, s);
vsnprintf(buf, lengthof(buf), s, va);
va_end(va);
fprintf(stderr, "%s" LINE_NUM_FMT ": Warning: %s\n", _file, _cur_line, buf);
fprintf(stderr, "%s" LINE_NUM_FMT ": warning: %s\n", _file, _cur_line, buf);
_warnings++;
}
@ -177,7 +177,7 @@ static void CDECL Error(const char *s, ...)
va_start(va, s);
vsnprintf(buf, lengthof(buf), s, va);
va_end(va);
fprintf(stderr, "%s" LINE_NUM_FMT ": Error: %s\n", _file, _cur_line, buf);
fprintf(stderr, "%s" LINE_NUM_FMT ": error: %s\n", _file, _cur_line, buf);
_errors++;
}