Fix some compile warnings under mingw/cygwin
This commit is contained in:
parent
812c1cedcb
commit
e4bede3c76
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2020 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2013-2026 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -462,6 +462,8 @@ static void draw_binary_vec4_logical(ivl_expr_t expr, char op)
|
|||
jmp_type = "1";
|
||||
break;
|
||||
default:
|
||||
opcode = "<invalid>"
|
||||
jmp_type = "<invalid>"
|
||||
assert(0);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ s_vpi_vecval vpip_calc_clog2(vpiHandle)
|
|||
}
|
||||
void vpip_count_drivers(vpiHandle, unsigned, unsigned [4]) { }
|
||||
void vpip_format_strength(char*, s_vpi_value*, unsigned) { }
|
||||
void vpip_format_pretty(vpiHandle) { }
|
||||
void vpip_make_systf_system_defined(vpiHandle) { }
|
||||
void vpip_mcd_rawwrite(PLI_UINT32, const char*, size_t) { }
|
||||
void vpip_set_return_value(int) { }
|
||||
|
|
@ -230,6 +231,7 @@ vpip_routines_s vpi_routines = {
|
|||
.calc_clog2 = vpip_calc_clog2,
|
||||
.count_drivers = vpip_count_drivers,
|
||||
.format_strength = vpip_format_strength,
|
||||
.format_pretty = vpip_format_pretty,
|
||||
.make_systf_system_defined = vpip_make_systf_system_defined,
|
||||
.mcd_rawwrite = vpip_mcd_rawwrite,
|
||||
.set_return_value = vpip_set_return_value,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2025 Cary R. (cygcary@yahoo.com)
|
||||
* Copyright (C) 2020-2026 Cary R. (cygcary@yahoo.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -57,6 +57,7 @@ static int bit_get_type(const __vpiBit*rfp)
|
|||
return vpiRegBit;
|
||||
}
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int bit_get(int code, vpiHandle ref)
|
||||
|
|
|
|||
Loading…
Reference in New Issue