This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Fix parse error in flash.c
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Gary Thomas <gary at chez-thomas dot org>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Sun, 12 Oct 2003 13:43:44 +0200
- Subject: Re: Fix parse error in flash.c
- References: <200310081813.23640.roland.cassebohm@visionsystems.de>
On Wed, Oct 08, 2003 at 06:13:23PM +0200, Roland Ca?ebohm wrote:
> Fix parse error when compiling packages/io/flash/current/src/flash.c
> if CYGSEM_IO_FLASH_READ_INDIRECT is not defined.
Hi Garry.
You asked about what compiler Roland was using since yours did not
pick up there "error". I think you are using gcc 3.3. That allows
local variables to be declared anywhere in a function, where as older
compilers only allow local variables to come after a {
Andrew