Closed johnhays closed 10 months ago
Daemon.cpp: In static member function ‘static DAEMONIZE_RESULT CDaemon::daemonise(const string&, const string&)’: Daemon.cpp:172:22: error: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 172 | write(m_pid_fd, str, strlen(str)); | ~^~~~~~~~ cc1plus: all warnings being treated as errors make[1]: *** [Makefile:9: Daemon.o] Error 1
Thanks for reporting this issue. What branch/tag are you trying to build? What version of Ubuntu are you running?
Might also be related to : https://groups.io/g/OpenDV/message/1854
Daemon.cpp: In static member function ‘static DAEMONIZE_RESULT CDaemon::daemonise(const string&, const string&)’: Daemon.cpp:172:22: error: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 172 | write(m_pid_fd, str, strlen(str)); |
~^~~~~~~~ cc1plus: all warnings being treated as errors make[1]: *** [Makefile:9: Daemon.o] Error 1