You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
MacOSX does not support the flag MSG_NOSIGNAL. This result in a compile failure on Socket.cpp
This is the failure log:
[ 9%] Built target xmlserializer
[ 12%] Built target pfw_utility
[ 86%] Built target parameter
[ 87%] Building CXX object remote-processor/CMakeFiles/remote-processor.dir/Socket.cpp.o
/Users/makohoek/Documents/Development/parameter-framework/remote-processor/Socket.cpp: In member function 'bool CSocket::read(void*, uint32_t)':
/Users/makohoek/Documents/Development/parameter-framework/remote-processor/Socket.cpp:111:78: error: 'MSG_NOSIGNAL' was not declared in this scope
int32_t iAccessedSize = ::recv(_iSockFd, &pucData[uiOffset], uiSize, MSG_NOSIGNAL);
^
/Users/makohoek/Documents/Development/parameter-framework/remote-processor/Socket.cpp: In member function 'bool CSocket::write(const void*, uint32_t)':
/Users/makohoek/Documents/Development/parameter-framework/remote-processor/Socket.cpp:143:78: error: 'MSG_NOSIGNAL' was not declared in this scope
int32_t iAccessedSize = ::send(_iSockFd, &pucData[uiOffset], uiSize, MSG_NOSIGNAL);
^
make[2]: *** [remote-processor/CMakeFiles/remote-processor.dir/Socket.cpp.o] Error 1
make[1]: *** [remote-processor/CMakeFiles/remote-processor.dir/all] Error 2
make: *** [all] Error 2