[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GNUnet] Application does not compile when using GNUNET_log_strerror
From: |
Alessio Vanni |
Subject: |
[bug-GNUnet] Application does not compile when using GNUNET_log_strerror |
Date: |
Fri, 30 Aug 2019 18:45:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
I'm building an out-of-tree application which uses some system calls, so
I thought I'd use GNUNET_log_strerror when an error occurs (i.e. the
function returns -1.) However, when I try to compile the application,
the compiler fails saying that STRERROR (all caps) is undefined.
The problem is caused by the fact that GNUnet's headers assume to have
plibc.h always available, but that header is not included within those
headers.
The GNUnet documentation doesn't say if it should be included when
building an application or not (neither gnunet-ext nor the handbook), so
it's unclear how to proceed. plibc.h should probably be always included
by placing the #include directive within one of the installed GNUnet
headers.
Sincerely,
A.V.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-GNUnet] Application does not compile when using GNUNET_log_strerror,
Alessio Vanni <=