From: Yigal H. <hoc...@dm...> - 2003-02-24 00:01:39
|
Hi Rod, 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. Regards, Rod Boyce <ro...@bo...> 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. > > Regards, > Rod > -- - Yigal |