git-1.8.4 fails to build due to fgetc is a macro

2013-08-27 Thread Natanael Copa
Hi, git-1.8.4 fails to build with this error: cc -o config.o -c -MF ./.depend/config.o.d -MQ config.o -MMD -MP -Os -fomit-frame-pointer -pipe -g -O2 -Wall -I. -DUSE_LIBPCRE -DNO_NSEC -DNO_GETTEXT -DNO_ICONV -DHAVE_PATHS_H -DHAVE_DEV_TTY -DSHA1_HEADER='openssl/sha.h' -DNO_STRLCPY

Re: git-1.8.4 fails to build due to fgetc is a macro

2013-08-27 Thread Rich Felker
On Tue, Aug 27, 2013 at 09:43:31AM +0200, Natanael Copa wrote: Hi, git-1.8.4 fails to build with this error: cc -o config.o -c -MF ./.depend/config.o.d -MQ config.o -MMD -MP -Os -fomit-frame-pointer -pipe -g -O2 -Wall -I. -DUSE_LIBPCRE -DNO_NSEC -DNO_GETTEXT -DNO_ICONV -DHAVE_PATHS_H

Re: [PATCH] ldso: fix unused variable warning

2013-08-27 Thread Baruch Siach
Hi Filippo, On Tue, Aug 27, 2013 at 10:11:38AM +0200, Filippo ARCIDIACONO wrote: On 8/22/2013 4:58 PM, Baruch Siach wrote: This fixes the following warning when SUPPORT_LD_DEBUG_EARLY is not enabled: ldso/ldso/ldso.c: In function '_dl_get_ready_to_run': ldso/ldso/ldso.c:754:16: warning:

[PATCH v2] ldso: fix unused variable warning

2013-08-27 Thread Baruch Siach
This fixes the following warning when SUPPORT_LD_DEBUG_EARLY is not enabled: ldso/ldso/ldso.c: In function '_dl_get_ready_to_run': ldso/ldso/ldso.c:754:16: warning: unused variable 'tmp' [-Wunused-variable] This was introduced with commit 94cc6edb (ldso: Rework global scope handling and symbol