Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-C99 compilation failure #11

Closed
adr26 opened this issue Jun 14, 2021 · 1 comment
Closed

Pre-C99 compilation failure #11

adr26 opened this issue Jun 14, 2021 · 1 comment

Comments

@adr26
Copy link

adr26 commented Jun 14, 2021

Unfortunately, building fails with MSVC in pre-C99 mode (compiling against Python 2.7):

c:\temp\bitarray\bitarray\pythoncapi_compat.h(264) : error C2143: syntax error : missing ';' before 'type'
c:\temp\bitarray\bitarray\pythoncapi_compat.h(265) : error C2065: 'res' : undeclared identifier
c:\temp\bitarray\bitarray\pythoncapi_compat.h(268) : error C2065: 'res' : undeclared identifier

Hopefully #10 is an uncontroversial fix!

Thanks, Andrew R

@vstinner
Copy link
Member

Fixed by 920f2ff Thanks for the fix!

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

No branches or pull requests

2 participants