binji / smolnes

NES emulator in <5000 bytes of C
MIT License
631 stars 31 forks source link

Errors compiling on mac #5

Closed lukeboi closed 2 years ago

lukeboi commented 2 years ago

Hi!

I'm trying to compile smolnes on MacOS version 12.0.1, Apple Silicon. I'm getting this error:

image

My gcc version:

image

Any ideas?

binji commented 2 years ago

Oh, I suppose technically I can't remove that parameter name until C2x, but it seems that your compiler is treating it as an error instead. I'll see if I can put the name back in so it is more compatible.

binji commented 2 years ago

I just pushed 9083985c7c74e61ffba66bbd8f274cbf9600306c which should fix this.

lukeboi commented 2 years ago

Now compiles without issue. Thank you so much!