On 07.03.21 06:53, Ryan Schmidt wrote:
On Mar 6, 2021, at 22:46, Jeffrey Walton wrote:
I'm building Wget 1.21.1 on an old PowerMac with OS X 10.5. Debian
still lacks a stable image for the G5's, so I keep using Apple's OS X.
$ make
make all-recursive
Making all in lib
make all-am
...
CC malloc/dynarray_resize_clear.o
CC glthread/lock.o
CC tempname.o
tempname.c: In function 'random_bits':
tempname.c:92: warning: integer constant is too large for 'long' type
tempname.c:92: warning: this decimal constant is unsigned only in ISO
C90
tempname.c: In function 'try_tempname_len':
tempname.c:290: error: 'for' loop initial declaration used outside
C99 mode
make[3]: *** [tempname.o] Error 1
You already reported that 2 months ago.
https://lists.gnu.org/archive/html/bug-wget/2021-01/msg00004.html
I believe it was decided that it was a gnulib bug. (wget requires C99
and gnulib fails to enforce that requirement by adding the -std=c99
flag.)
TY, Ryan !
@Jeff Could you add the 'c99' gnulib module to bootstrap.conf and
restart with the bootstrap step (and report back if it worked).
If that is the case, I'll add it.
Regards, Tim