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

Cannot compile with msvc2012 x86 #637

Closed
stef-pellegrino opened this issue Nov 6, 2023 · 1 comment · Fixed by #587
Closed

Cannot compile with msvc2012 x86 #637

stef-pellegrino opened this issue Nov 6, 2023 · 1 comment · Fixed by #587

Comments

@stef-pellegrino
Copy link

Hi,

Get this error under windows11, with old msvc 2012 x86 :

nmake -f makefile.mscv
...
src/prngs/rng_get_bytes.c(117) : error C2143: syntax error : missing ';' before 'type'
rc/prngs/rng_get_bytes.c(118) : error C2065: 'hProv' : undeclared identifier
src/prngs/rng_get_bytes.c(126) : error C2065: 'hProv' : undeclared identifier
src/prngs/rng_get_bytes.c(129) : error C2065: 'hProv' : undeclared identifier

An idea ?
Thanks

@sjaeckel
Copy link
Member

sjaeckel commented Nov 7, 2023

Oh wow MSVC.

You can apply the src/prngs/rng_get_bytes.c part of b182b97, this apparently fixes the error.

@sjaeckel sjaeckel closed this as completed Nov 7, 2023
@sjaeckel sjaeckel linked a pull request Nov 7, 2023 that will close this issue
2 tasks
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 a pull request may close this issue.

2 participants