F4FXL / DStarGateway

A wxWidget free port of ircddbGateway with some more (not yet all implemented) features ;)
GNU General Public License v2.0
8 stars 1 forks source link

Fails build on Ubuntu without ENABLE_DEBUG #40

Closed johnhays closed 10 months ago

johnhays commented 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

F4FXL commented 10 months ago

Thanks for reporting this issue. What branch/tag are you trying to build? What version of Ubuntu are you running?

F4FXL commented 10 months ago

Might also be related to : https://groups.io/g/OpenDV/message/1854