Re: Build problem smbfs/file.c

From: Nick Warne
Date: Sun Mar 14 2004 - 09:16:28 EST


> > PARANOIA("%s/%s validation failed, error=%zd\n"
> >
> > Ummm. I removed the `z' from error=%zd\n" - it appears to be rogue,
> > but what do I know ;)
>
> I think someone meant to change my %d into a %Zd, like in smb_file_read.
> Or not, since my gcc's understand them both.
>
> Compiler version?

I installed the recommended kernel GCC as per the docs:

[root@Linux233 linux-2.6.1]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-
gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)

OK, after some research it is a GCC problem - but I need to ask why
this is now become a problem.

Googling, Andrew Morton pulled this up in the lkml found here:

http://lkml.org/lkml/2003/7/7/225

Now, I am a bit worried if the lower case version `z' is to be used,
that it will be a bit of a problem if there are lots of files using
it.

Also, although GCC reports this as a warning, it also seems to say "I
don't know what this is, so am ignoring it" sort of thing?

Or am I PARANOIA...

Thanks,

Nick

--
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/