Discussion:
[Bug-wget] wget wait_ares void value not ignored
Endre Hagelund
2018-08-24 07:39:49 UTC
Permalink
Hi

I've encountered a bug when compiling wget 1.19.5 from source with the
following command:

./configure --with-cares && make

Compile fails with the following error message:
host.c: In function 'wait_ares'
host.c:735:11: error: void value not ignored as it ought to be
timer = ptimer_destroy (timer);
^

Can this error be fixed by patching the line?
ptimer_destroy (timer); timer = NULL;

Best Regards,
Endre
Tim Rühsen
2018-08-24 08:16:44 UTC
Permalink
Thanks,

it has been remove on 8th of March 2018 (commit
7eff94e881b94d119ba22fc0c29edd65f4e6798b)

Regards, Tim
Post by Endre Hagelund
Hi
I've encountered a bug when compiling wget 1.19.5 from source with the
./configure --with-cares && make
host.c: In function 'wait_ares'
host.c:735:11: error: void value not ignored as it ought to be
timer = ptimer_destroy (timer);
^
Can this error be fixed by patching the line?
ptimer_destroy (timer); timer = NULL;
Best Regards,
Endre
Loading...