Closed arenevier closed 11 months ago
Windows / gcc is not happy. Can we switch to your new code all the time ?
Are you talking about the build error?
| Cannot find path
| 'C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\lib\libpthread.dll.a' because it
| does not exist.
I'm not sure how it can be related to this change.
Anyway, I have created an alternative pull request with only the exception safe codepath: https://github.com/machinezone/IXWebSocket/pull/489
IXWebSocket needs exceptions support because of the use of stoi. In order to build when cpp exceptions are disabled, we can use strtol when __cpp_exceptions is not set