not in ram update

Motoya Kurotsu kurotsu@allied-telesis.co.jp
Tue Nov 25 09:42:00 GMT 2003


> > 
> > > Here's the updated patch with error on implementing the interface.
> > > 
> > 
> > The attached patch fixes parse error which is caused by the update.
> 
> Im guessing you are using gcc 2.x? With gcc 3.x this compiles
> fine. The problem is with typedefs and variable declarations not being
> at the beginning of the functions. gcc 3 allows that, but gcc 2 does
> not.

Oh, I see.

> 
> I've actually solved the problem a different way. I don't like
> starting new levels of {} unless needed. I think it makes the code
> look messy. Here is my patch. Please let me know if it does not work
> with gcc 2.
> 

I compiled your patch with gcc 2.95.3 successfully . It looks good.

Motoya Kurotsu
Allied Telesis K.K.



More information about the Ecos-patches mailing list