-
Notifications
You must be signed in to change notification settings - Fork 451
enum SortingStatus::Unsorted conflicts with define in X.h #7846
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
Comments
We can't protect against all weird macros that other libraries might set. But we should at least try to avoid the most common problems, and X11 is pretty common. Solution alternativesI think B is the right call. A) do nothingUsers will have to carefully order their Status quo. This is a problem in two alternatives: A) whenever a user includes Case A is too common. B) Add
|
Describe the bug
The attempt to compile C++ project with X11 leads to an error
To Reproduce
Steps to reproduce the behavior:
Just run compilation of the project which includes <rerun.hpp>
Expected behavior
No compiler errors
Screenshots

Desktop (please complete the following information):
Linux 5e5b334a2327 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Rerun version
0.19.0
The text was updated successfully, but these errors were encountered: