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)

Happy hacking!

Christian

> 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.
> 
> _______________________________________________
> Bug-GNUnet mailing list
> Bug-GNUnet@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-gnunet
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bug-GNUnet mailing list
Bug-GNUnet@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnunet

Reply via email to