Internals: MSVC cleanups
This commit is contained in:
parent
94f8181cff
commit
9180eebdba
|
|
@ -1584,10 +1584,6 @@ IData _vl_vsscanf(FILE* fp, // If a fscanf
|
||||||
_vl_vsss_skipspace(fp, floc, fromp, fstr);
|
_vl_vsss_skipspace(fp, floc, fromp, fstr);
|
||||||
_vl_vsss_read_str(fp, floc, fromp, fstr, t_tmp, "+-.0123456789eE");
|
_vl_vsss_read_str(fp, floc, fromp, fstr, t_tmp, "+-.0123456789eE");
|
||||||
if (!t_tmp[0]) goto done;
|
if (!t_tmp[0]) goto done;
|
||||||
union {
|
|
||||||
double r;
|
|
||||||
int64_t ld;
|
|
||||||
} u;
|
|
||||||
// Timeunit was read earlier from up-front arguments
|
// Timeunit was read earlier from up-front arguments
|
||||||
const int userUnits = Verilated::threadContextp()->impp()->timeFormatUnits();
|
const int userUnits = Verilated::threadContextp()->impp()->timeFormatUnits();
|
||||||
// 0..-15
|
// 0..-15
|
||||||
|
|
|
||||||
|
|
@ -351,6 +351,7 @@ extern "C" void __gcov_dump();
|
||||||
# pragma warning(disable:4244) // C4244: conversion from 'uint64_t' to 'uint_32_t', possible loss of data
|
# pragma warning(disable:4244) // C4244: conversion from 'uint64_t' to 'uint_32_t', possible loss of data
|
||||||
# pragma warning(disable:4245) // C4245: conversion from 'int' to 'unsigned', signed/unsigned mismatch
|
# pragma warning(disable:4245) // C4245: conversion from 'int' to 'unsigned', signed/unsigned mismatch
|
||||||
# pragma warning(disable:4267) // C4267: conversion from 'size_t' to 'int', possible loss of data
|
# pragma warning(disable:4267) // C4267: conversion from 'size_t' to 'int', possible loss of data
|
||||||
|
# pragma warning(disable:4316) // C4316: 'Vtop': object allocated on the heap may not be aligned 64
|
||||||
# pragma warning(disable:4996) // C4996: sscanf/fopen/etc may be unsafe
|
# pragma warning(disable:4996) // C4996: sscanf/fopen/etc may be unsafe
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,7 @@ public:
|
||||||
return currInitp;
|
return currInitp;
|
||||||
} else {
|
} else {
|
||||||
lhsDtypep->v3fatalSrc("Unhandled type");
|
lhsDtypep->v3fatalSrc("Unhandled type");
|
||||||
|
return nullptr; // LCOV_EXCL_LINE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static AstNodeExpr* wrapIntoExprp(AstVarRef* const refp, AstNodeExpr* const exprp,
|
static AstNodeExpr* wrapIntoExprp(AstVarRef* const refp, AstNodeExpr* const exprp,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue