Skip to content

BUG: Restore vc141 support - #20712

Merged
charris merged 1 commit into
numpy:mainfrom
isuruf:popcnt
Jan 3, 2022
Merged

charris merged 1 commit into
numpy:mainfrom
isuruf:popcnt

Conversation

@isuruf

@isuruf isuruf commented Jan 3, 2022 •

Copy link
Copy Markdown
Contributor

__popcnt needs intrin.h, but it was only being included implicitly by a long chain of
system headers on VS2019. Header files on VS2017 is slightly different and intrin.h was
not included implicitly. Headers that are used should be explicitly included.

@charris charris changed the title [BUG] Restore vc141 support BUG: Restore vc141 support Jan 3, 2022
@charris charris added this to the 1.22.1 release milestone Jan 3, 2022
@charris

charris commented Jan 3, 2022

Copy link
Copy Markdown
Member

LGTM. An explanatory comment would be useful in the include.

@charris

charris commented Jan 3, 2022

Copy link
Copy Markdown
Member

I assume this solves the vs2017 problem for anaconda.

@charris
charris merged commit d64df45 into numpy:main Jan 3, 2022
@charris

charris commented Jan 3, 2022

Copy link
Copy Markdown
Member

Thanks Isuru.

@isuruf
isuruf deleted the popcnt branch January 3, 2022 02:58
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 3, 2022
@charris charris removed this from the 1.22.1 release milestone Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants