On Mon, Dec 20, 2010 at 5:22 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > Hari Kodungallur <hari.mailinglists@xxxxxxxxx> writes: > >>>From <sys/stat.h>: >> ================= >> >> ... >> ... >> ... >> >> #ifndef __USE_FILE_OFFSET64 >> /* Get file attributes for FILE and put them in BUF. */ >> extern int stat (__const char *__restrict __file, >> struct stat *__restrict __buf) __THROW __nonnull ((1, 2)); >> > >>>From fixed sys/stat.h: >> ====================== >> >> ... >> ... >> ... >> >> #ifndef __USE_FILE_OFFSET64 >> /* Get file attributes for FILE and put them in BUF. */ >> #ifdef __GNUC_GNU_INLINE__ >> extern >> #endif >> __inline__ int stat (__const char *__restrict __file, >> struct stat *__restrict __buf) __THROW __nonnull ((1, 2)); > > This is pretty clearly a bug when using fixincludes with an older > version of glibc. As far as I can see the bug still exists in the > current sources. Can you open a bug report for this? See > http://gcc.gnu.org/bugs/ . Thanks. > Bugged as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47029 thanks, -Hari