Re: [PATCH] (trivial 2.5.74) compilation fix drivers/mtd/mtd_blkdevs.c

Russell King (rmk@arm.linux.org.uk)
Thu, 3 Jul 2003 11:01:26 +0100


On Thu, Jul 03, 2003 at 11:57:22AM +0200, Juan Quintela wrote:
> >>>>> "junkio" == junkio <junkio@cox.net> writes:
>
> junkio> C does not let us declar variables in the middle of a block (yet).
>
> It depends what do you call C :)
>
> C99 does.

Unfortunately gcc 2.95.x does not allow it, so we shouldn't be using it
in the kernel (yet).

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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