I have pushed a copy of the code in the master branch of https://github.com/yolomep/TIEMERALDCE/ (ignore the main branch, that's github's fault, though there is a readme with the whole error). It's pretty much the code for the whole project I'm working on. It looks like a mess, but the only function you should be worried about is the damageCalc() function. Adding the function just breaks the compiler completely. Removing parts of the function, then compiling, does not break the code. But then, compiling again produces the same error. I may seem to be rambling, but it really is driving me crazy.
I feel like if I compiled with gcc it would give me a better sense of what is going on, but there is no good gcc compiler for ez80.
The header files don't break the program at all, although i did copy the contents into the main.cpp file.
I don't know what to say. The error seems to be about a "function pass manager". The code compiles correctly, so no errors, but the compiler can't seem to turn it into assembly...
I feel like if I compiled with gcc it would give me a better sense of what is going on, but there is no good gcc compiler for ez80.
The header files don't break the program at all, although i did copy the contents into the main.cpp file.
I don't know what to say. The error seems to be about a "function pass manager". The code compiles correctly, so no errors, but the compiler can't seem to turn it into assembly...