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

i can not compile under windows #2391

Closed
sherifomran opened this issue Jul 26, 2019 · 4 comments
Closed

i can not compile under windows #2391

sherifomran opened this issue Jul 26, 2019 · 4 comments
Labels

Comments

@sherifomran
Copy link

I have tried compiling libuv using msys2 under windows, but i get
ISO C90 does not support unnamed structure and all these are in winapi.h

then i get error
src/win/fs.c:1950:9: warning: unused variable 'error' [-Wunused-variable]
1950 | DWORD error;

@saghul
Copy link
Member

saghul commented Jul 26, 2019

What shell are you on, the MSYS2 shell or the MinGW-w64 shell? The former is not supported and it's not really supposed to be used to compile things other than the toolchain itself IIRC.

@hezhanbang
Copy link

there are no uv_last_error, what function can i use instead.

@saghul
Copy link
Member

saghul commented Jul 29, 2019

@liyoubdu Your problem is unrelated. You seem to be using a very old libuv API, please check the documentation.

@bnoordhuis
Copy link
Member

This issue seems to have run its course. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants