Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348.

This commit is contained in:
Wilson Snyder 2018-09-17 06:25:01 -04:00
parent cc9f7d1ac3
commit 7876fe94ad
4 changed files with 5 additions and 6 deletions

View File

@ -4,6 +4,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
* Verilator 4.003 devel
*** Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348. [Kevin Kiningham]
* Verilator 4.002 2018-09-16

View File

@ -234,7 +234,6 @@ vluint64_t vl_rand64() VL_MT_SAFE {
if (VL_UNLIKELY(!t_seeded)) {
t_seeded = true;
{
long seedval;
VerilatedLockGuard lock(s_mutex);
t_state[0] = (((vluint64_t)vl_sys_rand32())<<32
^ ((vluint64_t)vl_sys_rand32()));

View File

@ -1875,7 +1875,7 @@ void EmitCImp::emitSavableImp(AstNodeModule* modp) {
}
}
ofp()->printf( "vluint64_t __Vcheckval = VL_ULL(0x%" VL_PRI64 "x);\n",
hash.digestUInt64());
(vluint64_t)hash.digestUInt64());
if (de) {
puts("os.readAssert(__Vcheckval);\n");
} else {

View File

@ -61,8 +61,7 @@ private:
size_t operator() (const AstSenTree* kp) const {
return V3Hashed::uncachedHash(kp).fullValue();
}
private:
VL_UNCOPYABLE(HashSenTree);
// Copying required for OSX's libc++
};
class EqSenTree {
@ -71,8 +70,7 @@ private:
bool operator() (const AstSenTree* ap, const AstSenTree* bp) const {
return ap->sameTree(bp);
}
private:
VL_UNCOPYABLE(EqSenTree);
// Copying required for OSX's libc++
};
// MEMBERS