[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] [bug-GNUnet] Application does not compile when u
Re: [GNUnet-developers] [bug-GNUnet] Application does not compile when using GNUNET_log_strerror
Sun, 1 Sep 2019 15:20:36 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
First of all, thanks for reporting.
We had discussions about eliminating plibc entirely, now that W10 has
"Linux" support and can presumably run GNU/UNIX code natively --- and
given that nobody has been really maintaining the W32 port for a while.
So maybe the best answer is for us to get rid of plibc entirely,
replacing STRERROR by strerror (etc.), and that way avoid this kind of
pitfall in the future?
Any objections? (cc'ing gnunet-developers to gather opinions)
> 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
> 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
> Bug-GNUnet mailing list
Description: OpenPGP digital signature
|[Prev in Thread]
||[Next in Thread]|
- Re: [GNUnet-developers] [bug-GNUnet] Application does not compile when using GNUNET_log_strerror,
Christian Grothoff <=