mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-22 07:01:12 +01:00

All Travis jobs fail with ```src/Socket.cpp: In static member function ‘static int Poco::Net::Socket::select(Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, const Poco::Timespan&)’: src/Socket.cpp:151:47: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive] src/Socket.cpp:164:49: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive] ``` From man strerror_r ``` int strerror_r(int errnum, char *buf, size_t buflen); /* XSI-compliant */ char *strerror_r(int errnum, char *buf, size_t bufle); /* GNU-specific */ Feature Test Macro Requirements for glibc (see feature_test_macros(7)): The XSI-compliant version of strerror_r() is provided if: (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE Otherwise, the GNU-specific version is provided. ```