|
From: | Matthew Lien |
Subject: | Re: FTBFS on GNU/Hurd |
Date: | Wed, 3 Jul 2013 15:42:35 +0800 |
Hello!
First of all, thanks for trying Guix on GNU/Hurd! There is no bug tracking system, just this mailing list.
On 07/02/2013 05:06 PM, Matthew Lien wrote:
nix/nix-daemon/guix-daemon.cc: In function ‘error_t parse_opt(int, char*, argp_state*)’:
nix/nix-daemon/guix-daemon.cc:174:14: error: invalid conversion from ‘int’ to ‘error_t {aka __error_t_codes}’ [-fpermissive]
return ARGP_ERR_UNKNOWN;
^
nix/nix-daemon/guix-daemon.cc:177:10: error: invalid conversion from ‘int’ to ‘error_t {aka __error_t_codes}’ [-fpermissive]
return 0;
^
In /usr/include/errno.h:
/* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
that printing `error_t' values in the debugger shows the names. We
might need this definition sometimes even if this file was included
before. */
Which explains your issue. I think this is more of a Nix or GNU bug. According to the GNU documentation (http://www.gnu.org/software/libc/manual/html_node/Argp-Parser-Functions.html#Argp-Parser-Functions), the parse_opt function is fine. Should we ask the Hurd people how they handle this ?
Cyril Roelandt.
[Prev in Thread] | Current Thread | [Next in Thread] |