This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
dl-fxstatat64.c on x86-64
- From: Andreas Jaeger <aj at novell dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 14 Jun 2011 14:27:35 +0200
- Subject: dl-fxstatat64.c on x86-64
I noticed the following warning on x86-64 compiling dl-fxstatat64.c:
In file included from ../sysdeps/unix/sysv/linux/dl-fxstatat64.c:6:0:
../sysdeps/unix/sysv/linux/fxstatat64.c: In function â__fxstatat64â:
../sysdeps/unix/sysv/linux/fxstatat64.c:56:7: warning: unused variable âresultâ [-Wunused-variable]
../sysdeps/unix/sysv/linux/fxstatat64.c:172:1: warning: control reaches end of non-void function [-Wreturn-type]
Looking further, we have sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c
- why is that file not used in this case (which only says to use fxstatat)?
So, what is the best way to handle this on 64-bit platforms?
We might have a similar problem with dl-openat64.c.
Andreas
--
Andreas Jaeger, Program Manager openSUSE
aj@{novell.com,suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix ImendÃrffer, HRB 16746 (AG NÃrnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126