mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-24 08:45:05 +01:00
[vcom] Bugfix where non-source error/warnings would not be displayed
This commit is contained in:
parent
710ad3cb01
commit
1df04509a4
8
main.c
8
main.c
@ -82,7 +82,7 @@ int run_ghdl(char *command, ...) {
|
|||||||
char *start;
|
char *start;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
int arrc;
|
int arrc;
|
||||||
int fgetret;
|
int i;
|
||||||
|
|
||||||
va_list argptr;
|
va_list argptr;
|
||||||
va_start(argptr, command);
|
va_start(argptr, command);
|
||||||
@ -141,7 +141,11 @@ int run_ghdl(char *command, ...) {
|
|||||||
printf("** Warning: %s(%s): (ghdl) %s\n", arr[0], arr[1], arr[4]);
|
printf("** Warning: %s(%s): (ghdl) %s\n", arr[0], arr[1], arr[4]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("** ghdl: %s\n", buf);
|
printf("** ghdl: ");
|
||||||
|
for (i = 0; i < arrc; i++) {
|
||||||
|
printf("%s", arr[i]);
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
}
|
}
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user