[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3
From: |
Tim Ruehsen |
Subject: |
[Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3 |
Date: |
Fri, 3 Feb 2017 21:48:13 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #3, bug #50223 (project wget):
Thanks for the additional info.
It looks like unlink() doesn't work as expected on MacOSX, so that gnulib add
wrapper code, doing it in <unistd.h> with
#define unlink rpl_unlink
Now, in ftp.c we include "wget.h" before <unistd.h>.
"wget.h" includes "options.h" which declares 'struct options' with a member
called 'unlink'. Thereafter <unistd.h> makes the above define and thus all
references to member 'unlink' are rewritten to 'rpl_unlink' by the
preprocessor => syntax error.
Could anyone test to include unistd.h before wget.h in ftp.c ?
Maybe other sources are affected similarly... but it would be good to know if
ftp.c compiles with such a change.
I guess the best fix would be to rename member 'unlink' to somethink else,
e.g. 'do_unlink'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50223>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Charles, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Tim Ruehsen, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3,
Tim Ruehsen <=
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Ryan Schmidt, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Ryan Schmidt, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/03
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Tim Ruehsen, 2017/02/04
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/04
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Tim Ruehsen, 2017/02/04
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Zhiming Wang, 2017/02/04
- [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3, Tim Ruehsen, 2017/02/04