Code: Select all
asm.cxx:4483:14: error: expression is not an integral constant expression
case Arit16Code::codeSBCHL:
Code: Select all
asm.cxx:4483:14: error: expression is not an integral constant expression
case Arit16Code::codeSBCHL:
Code: Select all
enum class Arit16Code : byte
{
codeADDHL = 0x09,
codeADCHL = 0x4A,
codeSBCHL = 0x42
};
Code: Select all
./configure CXXFLAGS=-stdc++17
I had the same issue so thanks for posting as this also solved it for me. One small change is you've missed the = after std.LunarWilly wrote: ↑Tue Apr 16, 2024 9:04 pm Fixed! I had to set the c++ compiler standard flag usingCheers for your helpCode: Select all
./configure CXXFLAGS=-stdc++17
Code: Select all
./configure CXXFLAGS=-std=c++17
Diablocical?LunarWilly wrote: ↑Tue Apr 16, 2024 9:33 pm Ha! Congrats on the diabolical post. It seems every time I encounter a makefile, it seems to transport me to hell, so quite apt really.