drh / lcc

The lcc retargetable ANSI C compiler
https://drh.github.io/lcc/
2k stars 436 forks source link

(unsigned char) cast from char ignored (Possible compilation bug?) #54

Open TomArrow opened 1 week ago

TomArrow commented 1 week ago

Hello,

I stumbled over a peculiar issue compiling openwall's crypt_blowfish using lcc for Quake 3 VMs, possibly a compiler bug.

It's really out of my depth, but here's the issue I created which includes the solution that was found by Solar Designer: https://github.com/openwall/crypt_blowfish/issues/3

Cheers

TomArrow commented 1 week ago

Actually, I've now been told that it may be a different/modified LCC version that is used for the QVMs, but I'll leave this up anyway just in case it's relevant here too.