0

I have got issue in Understand from SciTools. Please have a look on this code:

#pragma language=extended
#define SFR_AT(location)   @##location
#define dP0       0xFFF00

       __SFR_EXTERN__ __saddr __no_init volatile union
          {
          TByte         ioP0;
          TBitfieldByte ioP0_Bits;
          }SFR_AT(dP0);

When I compiling this project - everything is OK. Im using compiler in version IAR1.40.6. But Understand return me this error message:

>            [E] expected ';' after union 
>            [E] expected identifier or '(' 

This message is connected to this line : }SFR_AT(dP0);

Understand SciTools 6.2 build 1119 
Strict
Compiler IAR RL78

Have you any idea?

Thanks!

Markus
  • 5,976
  • 5
  • 6
  • 21
raptor
  • 1
  • 2

0 Answers0