Hi commoncpp maintainers, Building commoncpp2 1.8.1 with GCC 5.3.0 and glibc 2.23 fails like this:
| applog.cpp: In constructor 'ost::logger::logger(const char*, bool)': | applog.cpp:300:43: error: 'S_IREAD' was not declared in this scope | int err = mkfifo(_nomeFile.c_str(), S_IREAD | S_IWRITE); | ^ | applog.cpp:300:53: error: 'S_IWRITE' was not declared in this scope | int err = mkfifo(_nomeFile.c_str(), S_IREAD | S_IWRITE); | ^ | applog.cpp:300:61: error: 'mkfifo' was not declared in this scope | int err = mkfifo(_nomeFile.c_str(), S_IREAD | S_IWRITE); This is because applog.cpp doesn't include <sys/stat.h>. Adding the missing include fixes it. Thanks very much, -- Adam Sampson <a...@offog.org> <http://offog.org/> _______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org https://lists.gnu.org/mailman/listinfo/bug-commoncpp