Skip to content

Conversation

@vtjnash
Copy link
Contributor

@vtjnash vtjnash commented Dec 22, 2025

The intent seem to be to define this in one way, but previously it was
then immediately overriding it for various architectures, causing a
compiler warning.

@vtjnash
Copy link
Contributor Author

vtjnash commented Dec 22, 2025

Alternatively if the intent wasn't to override this, then I can swap the order of the declarations to define the architecture first.

@martin-frbg
Copy link
Collaborator

intention is to override, but I haven't checked which of the two is actually preferable on Windows - though I suspect it will be the asm no-op that currently "wins" amid the noisy warning.

@vtjnash
Copy link
Contributor Author

vtjnash commented Dec 23, 2025

Alright, can change that. I see past issues now that indicate why it uses the spin lock with nops (#1881 (comment))

@martin-frbg
Copy link
Collaborator

seems to be missing an #endif now somewhere, although the cause is not immediately obvious to me from the diff

The intent is to define this as nop, but previously it was then
immediately overriding it for various architectures, causing a compiler
warning on Windows.
@vtjnash
Copy link
Contributor Author

vtjnash commented Dec 23, 2025

ah, yep, it was missing at the obvious place

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