Skip to content

fix: guard REX::W32 MAX_PATH/ERROR against header-only spdlog leaking…#6

Merged
qudix merged 1 commit into
libxse:mainfrom
yak3d:fix/clang-cl-xwin-build
Jul 2, 2026
Merged

fix: guard REX::W32 MAX_PATH/ERROR against header-only spdlog leaking…#6
qudix merged 1 commit into
libxse:mainfrom
yak3d:fix/clang-cl-xwin-build

Conversation

@yak3d

@yak3d yak3d commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Compiling using clang-cl-xwin on Linux seems to cause spdlog to dredge up windows.h which has conflicting macros for MAX_PATH and ERROR. This PR will undefine the ones in commonlib-shared for spdlog calls and then redefine them after.

I recognize that Linux probably isn't a supported platform but figured this would be beneficial to all.

@qudix qudix merged commit 5470284 into libxse:main Jul 2, 2026
4 checks passed
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.

2 participants