Hmm... So the reason gcc is complaining is because of this line in /usr/include/x86_64-linux-gnu/sys/stat.h (on amd64 at least):
extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) __THROW __nonnull ((2, 3)); I'm still not sure if this is common amongst libcs or not, but this seems like a situation where disabling the warning might be the right move. -- Mike Gerow ge...@mgerow.com
signature.asc
Description: PGP signature