Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BLOCKER] Deal with "bool", "boolean" and old C standards #22

Open
BoogerWooger opened this issue Jul 12, 2023 · 1 comment
Open

[BLOCKER] Deal with "bool", "boolean" and old C standards #22

BoogerWooger opened this issue Jul 12, 2023 · 1 comment

Comments

@BoogerWooger
Copy link
Member

BoogerWooger commented Jul 12, 2023

we compile Doom using standard C99 (when "true" and "false" weren't reserved words). "boolean" typedef is here:

typedef enum
{
false = 0,
true = 1,
undef = 0xFFFFFFFF
} boolean;

In the same time ZKLLVM's stdlib uses type "bool"(added in later standards) in ctype.h header.

Need to find a workaround for this problem

@BoogerWooger BoogerWooger changed the title Deal with "bool", "boolean" and old C standards [BLOCKER] Deal with "bool", "boolean" and old C standards Jul 14, 2023
@BoogerWooger
Copy link
Member Author

still paused - will deal with it when multiple files will be linked

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

No branches or pull requests

1 participant