Hi,
Looks like in lirasm.cpp the following definition:
nanojit::Allocator::allocChunk(size_t nbytes, bool /*fallible*/)
doesn't match the declaration which does not have the extra bool parameter.
Also the following lines fail:
mLir = mCseFilter = new CseFilter(mLir, LIRASM_NUM_USED_ACCS, mParent.mAlloc);
Should this be:
mLir = mCseFilter = new CseFilter(mLir, LIRASM_NUM_USED_ACCS, mParent.mAlloc, mParent.mConfig);
And
Lirasm::Lirasm(bool verbose, Config& config) :
mConfig(config),
mAssm(mCodeAlloc, mAlloc, mAlloc, &mLogc, mConfig)
should be:
Lirasm::Lirasm(bool verbose, Config& config) :
mConfig(config),
mCodeAlloc(&config),
mAssm(mCodeAlloc, mAlloc, mAlloc, &mLogc, mConfig)
I am building lirasm using Visual C++ 2015 on Windows 10.