[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Adam Sampson |
Date: |
Wed, 16 Mar 2016 21:43:56 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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 <address@hidden> <http://offog.org/>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [no subject],
Adam Sampson <=