mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
qcvm didn't compile since moving the compile messages to con.c due to undefined references - fixed now
This commit is contained in:
parent
8e1ce2ab5e
commit
3c1992fc38
1 changed files with 5 additions and 2 deletions
7
exec.c
7
exec.c
|
@ -633,6 +633,8 @@ const char *type_name[TYPE_COUNT] = {
|
||||||
|
|
||||||
bool opts_debug = false;
|
bool opts_debug = false;
|
||||||
bool opts_memchk = false;
|
bool opts_memchk = false;
|
||||||
|
uint32_t opts_warn [1 + (COUNT_WARNINGS / 32)];
|
||||||
|
bool opts_werror = false;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int vtype;
|
int vtype;
|
||||||
|
@ -890,8 +892,9 @@ int main(int argc, char **argv)
|
||||||
prog->builtins_count = qc_builtins_count;
|
prog->builtins_count = qc_builtins_count;
|
||||||
|
|
||||||
if (opts_info) {
|
if (opts_info) {
|
||||||
printf("Program's system-checksum = 0x%04x\n", (int)prog->crc16);
|
printf("Program's system-checksum = 0x%04x\n", (unsigned int)prog->crc16);
|
||||||
printf("Entity field space: %i\n", (int)prog->entityfields);
|
printf("Entity field space: %u\n", (unsigned int)prog->entityfields);
|
||||||
|
printf("Globals: %u\n", (unsigned int)vec_size(prog->globals));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 1; i < vec_size(prog->functions); ++i) {
|
for (i = 1; i < vec_size(prog->functions); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue