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: not in ram update


On Tue, Nov 25, 2003 at 11:37:05AM +0900, Motoya Kurotsu wrote:
> Hi all;
> 
> > 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.

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.

     Thanks
        Andrew

Attachment: flash.diff
Description: Text document


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