Re: [PATCH 1/2] daemon: Fix '--version'.

2016-09-02 Thread Ludovic Courtès
Alex Vong skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Alex Vong skribis: >> > [...] >>> >>> I think you have isolated the problem! This test case does not work for >>> me. >>> >>> >>> I get the following output after building with >>> (g++ -O2 -flto version.cxx): >> >> What if you com

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-09-01 Thread Alex Vong
l...@gnu.org (Ludovic Courtès) writes: > Alex Vong skribis: > [...] >> >> I think you have isolated the problem! This test case does not work for >> me. >> >> >> I get the following output after building with >> (g++ -O2 -flto version.cxx): > > What if you compile with ‘gcc’ (and rename to foo.c)

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-09-01 Thread Ludovic Courtès
Alex Vong skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >> #include >> >> const char *argp_program_version = "foo"; >> const char *argp_program_bug_address = "f...@example.org"; >> >> static const struct argp_option options[] = >> { >> { "system", 's', "SYSTEM", 0, >> "as

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-08-31 Thread Alex Vong
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > Hi Alex, > > Alex Vong skribis: > [...] > >> I get this output instead: >> >> $ LC_ALL=C ./guix-daemon --version >> ./guix-daemon: unrecognized option '--version' >> Try `guix-daemon --help' or `guix-daemon --usage' for more information. >> >>

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-08-31 Thread Ludovic Courtès
Hi Alex, Alex Vong skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hi! >> >> Alex Vong skribis: >> >>> This one and the next patch fix '--version' of guix-daemon and >>> guix-register. Currently, they are not working, which is the reason why >>> help2man gives error when building from so

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-08-29 Thread Alex Vong
Hello, l...@gnu.org (Ludovic Courtès) writes: > Hi! > > Alex Vong skribis: > >> This one and the next patch fix '--version' of guix-daemon and >> guix-register. Currently, they are not working, which is the reason why >> help2man gives error when building from source. > > How are they not workin

Re: [PATCH 1/2] daemon: Fix '--version'.

2016-08-29 Thread Ludovic Courtès
Hi! Alex Vong skribis: > This one and the next patch fix '--version' of guix-daemon and > guix-register. Currently, they are not working, which is the reason why > help2man gives error when building from source. How are they not working exactly? :-) It definitely works for me: --8<--

(ping!) Re: [PATCH 1/2] daemon: Fix '--version'.

2016-08-28 Thread Alex Vong
9a1e654145183a06b Mon Sep 17 00:00:00 2001 > From: Alex Vong > Date: Wed, 24 Aug 2016 08:25:48 +0800 > Subject: [PATCH 1/2] daemon: Fix '--version'. > > * nix/nix-daemon/guix-daemon.cc (argp_program_version): Assigning > instead of declaring. > (argp_program_b

[PATCH 1/2] daemon: Fix '--version'.

2016-08-23 Thread Alex Vong
Date: Wed, 24 Aug 2016 08:25:48 +0800 Subject: [PATCH 1/2] daemon: Fix '--version'. * nix/nix-daemon/guix-daemon.cc (argp_program_version): Assigning instead of declaring. (argp_program_bug_address): Likewise. --- nix/nix-daemon/guix-daemon.cc | 7 +++ 1 file changed, 3 ins