SIGPIPE does not seem to be available on Windows: https://github.com/facebook/buck/issues/1645
These guys just skipped it if they detect windows. I have no idea about networking, is it ok to just add some #ifdef _WIN32?
When std::signal(SIGPIPE, SIG_IGN); in test.cpp is commented out, the build succeeds.
I get the following build error on Windows:
SIGPIPE does not seem to be available on Windows: https://github.com/facebook/buck/issues/1645 These guys just skipped it if they detect windows. I have no idea about networking, is it ok to just add some
#ifdef _WIN32
?When
std::signal(SIGPIPE, SIG_IGN);
intest.cpp
is commented out, the build succeeds.