This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix parse error in flash.c


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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]