3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 21:27:00 +00:00

Improve handling of warning messages

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-03-04 22:35:59 +01:00
parent 2935e8ea41
commit e5534a080e
3 changed files with 42 additions and 12 deletions

View file

@ -480,6 +480,8 @@ int main(int argc, char **argv)
if (mode_v && !mode_q)
log_files.push_back(stderr);
if (log_warnings_count)
log("Warnings: %d unique messages, %d total\n", GetSize(log_warnings), log_warnings_count);
#ifdef _WIN32
log("End of script. Logfile hash: %s\n", hash.c_str());
#else