Check Windows defines in Name.h#760
Conversation
|
You cannot compile remill with MSVC, so this wouldn't affect anything. |
I already have, so it does. |
|
Could you share more information? The codebase is littered with Clang-specific intrinsics/constructs, so this makes compiling it with MSVC rather difficult 😅 |
|
I have a workflow to build static libraries of Remill. https://github.com/ds5678/remill/actions/runs/22702765403 Whenever I referenced the static libraries on my computer, this platform detection was the only thing preventing me from using those static libraries. |
|
Your workflow builds with |
I do remember getting a bunch of warnings about this on my computer. I'll try again with clang-cl. |
I switched to clang-cl, and the warnings have disappeared. Using clang-cl also makes this pull request unnecessary. You can merge or close it. |
https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170#microsoft-specific-predefined-macros