Skip to content

Fix compilation errors on GCC 11.3.0#9

Open
jblang wants to merge 1 commit into
Konamiman:v0.42from
jblang:v0.42
Open

Fix compilation errors on GCC 11.3.0#9
jblang wants to merge 1 commit into
Konamiman:v0.42from
jblang:v0.42

Conversation

@jblang

@jblang jblang commented Jul 25, 2023

Copy link
Copy Markdown

GCC 11.3.0 (used on Ubuntu 22.04) was refusing to compile Sjasm 0.42 because byte is now a built-in type in the C++ standard library. To fix this, I have renamed it to BYTE (all caps) everywhere in the sjasm code so it does not cause a conflict. Now it compiles and I have tested it on several programs, and the output still looks correct. I also added a .gitignore to prevent .o files from getting committed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant