Re: [patch 7/13] Encode and decode arbitrary XDR arrays

From: Adrian Bunk
Date: Thu Feb 17 2005 - 09:15:35 EST


On Tue, Feb 15, 2005 at 02:17:18PM -0500, Trond Myklebust wrote:
>
> net/sunrpc/xdr.c:1024:3: warning: mixing declarations and code
>...
> Please don't use these gcc extensions in the kernel.

Just for the record:
This is not a gcc extension - this is C99 but not supported by
gcc 2.95 (which is a supported compiler for kernel 2.6).

> Cheers,
> Trond

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/