Fix msvc warning
MODIFY
src/isa/isainfo.h
src/isa/isainfo.h
@@ -53,7 +53,7 @@ public:
virtual int gpReg() const { return -1; } // Global pointer
virtual int syscallReg() const { return -1; } // Syscall function register
// Mapping between syscall argument # and the corresponding register # wherein that argument is passed.
- virtual int syscallArgReg(unsigned argIdx) const { return -1; }
+ virtual int syscallArgReg(unsigned /*argIdx*/) const { return -1; }
// GCC Compile command architecture and ABI specification strings
virtual QString CCmarch() const = 0;

MODIFY
src/isa/rvisainfo_common.h
src/isa/rvisainfo_common.h
@@ -99,7 +99,7 @@ public:
success = false;
return 0;
}
- virtual int syscallArgReg(unsigned argIdx) const {
+ virtual int syscallArgReg(unsigned argIdx) const override {
assert(argIdx < 8 && "RISC-V only implements argument registers a0-a7");
return argIdx + 10;
}

Fix msvc warning