Skip to content

Fix SSE2 build on MSVC by renaming a variable. - #1428

Open
degasus wants to merge 1 commit into
xtensor-stack:masterfrom
degasus:avoid_ms_macros
Open

degasus wants to merge 1 commit into
xtensor-stack:masterfrom
degasus:avoid_ms_macros

Conversation

@degasus

@degasus degasus commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

It was broken if you include some windows headers before xsimd. Come on, MS, why do you define "small" as "char"...

This fixes a regression of 04f3d21

@serge-sans-paille serge-sans-paille left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a minor nit.

Comment thread include/xsimd/arch/xsimd_sse2.hpp Outdated
It was broken if you include some windows headers before xsimd.
Come on, MS, why do you define "small" as "char"...

This branch has not been deployed

No deployments
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