Closed teoberi closed 1 month ago
Will take a look, I'm on gcc 13.2.0 and it's fine.
Thank you! It is a problem for Linux distributions that want to compile UASM from sources. Until the problem is solved, I will use the binary that for the first time works perfectly with 7-Zip.
Bane of my life ... I had to setup a complete new Linux machine to do the 2.57 build, Ubuntu 24 lts + installed GCC, which brought down 13.x by default - that seems to be fine. GCC 14 however has made more changes. I've already committed a patch to 2.57 branch that fixes the above error for AddSimdTypes - but now it's moaning about strupr.
There seems to be an implementation of strupr
here: https://github.com/Terraspace/UASM/blob/540d2159360fac5d3c2ac5efbeb15e0fcf869756/assemble.c#L131-L145
However, changing #if 0
to #if 1
results in more compile errors.
And solving these results in more compile errors. I gave up at this point because I don't know if my fixes were valid.
Just noticed that #186 & #216 solve some of these issues. Might be worth pulling them in.
gcc --version
make -f Makefile-Linux-GCC-64.mak