Thank you for your response. It looks like the best choice will be to
not use "data" as a name. I thought this is only a problem with sdcc.
Apparently "data" is also a keyword used by Keil which, as far as I
heard a popular 8051 "c" compiler in the industry.
Rod Boyce <rod@...> wrote:
> > > > It looks like the name "data" is reserved. The compiler dose not like
> > > > data to be used as variable name or a structure field name.
> > > Confirmed.
> You are gong to havethe sameproblem with Keil. Any other 8051 compilers I don't know about but Keil uses data for the same purpose as SDCC.