felixrieseberg/windows-notification-state

Node-gyp rebuild issues

Closed this issue · 2 comments

Hi @felixrieseberg,

After update to 1.3.1 in rebuild part there are a bunch of errors and warnings. Probably you can assist to overcome them. There are different types:

c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\winsock2.h(2680): error C2375: 'WSAAsyncSelect': redefinition; different linkage
c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\mswsock.h(151): error C2011: '_TRANSMIT_FILE_BUFFERS': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.17763.0\shared\ws2ipdef.h(80): error C2079: 'sockaddr_gen::Address' uses undefined struct 'sockaddr'
c:\program files (x86)\windows kits\10\include\10.0.17763.0\shared\ws2ipdef.h(142): warning C4005: 'IP_DONTFRAGMENT': macro redefinition

Have no idea where they come from. Thanks in advance.

I've added a #define _WINSOCKAPI_ that should have fixed this. Are you still seeing issues?

@felixrieseberg looks like they are gone, thanks!