scarybeasts / beebjit

A very fast BBC Micro emulator.
Other
132 stars 15 forks source link

Don't copy line 0 to line 0 #14

Closed ssb22 closed 4 years ago

scarybeasts commented 4 years ago

Thanks!

scarybeasts commented 4 years ago

The GCC 10 fix isn't compatible with older GCCs, so I attempted an alternate fix that should make it clearer to the compiler that -1 is not possible: https://github.com/scarybeasts/beebjit/commit/277353b3d10b35c869fd1a1d3f8c27596ee15799

ssb22 commented 4 years ago

Thanks, confirmed gcc 10 compiles your version without complaint :)