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

B_VAR_DIFFICULTY's test override can cause errors #6043

Open
Bassoonian opened this issue Jan 17, 2025 · 0 comments
Open

B_VAR_DIFFICULTY's test override can cause errors #6043

Bassoonian opened this issue Jan 17, 2025 · 0 comments
Labels
bug Bug status: unconfirmed This bug has not been reproduced yet

Comments

@Bassoonian
Copy link
Collaborator

Description

In include/config/test.h, the following block of code can cause compile errors:

// Vars #undef B_VAR_DIFFICULTY #define B_VAR_DIFFICULTY VAR_UNUSED_0x404E

In the same vein, B_FLAG_SLEEP_CLAUSE's reliance on FLAG_SPECIAL_FLAG_UNUSED_0x4003 can cause flag conflicts and compile errors if variables presumed by expansion to be unused are actually used and/or renamed by users.

Version

upcoming (Edge)

Upcoming/master Version

No response

Discord contact info

No response

@Bassoonian Bassoonian added bug Bug status: unconfirmed This bug has not been reproduced yet labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant