This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil C does not support

Keil C does not support this line:

typedef const UINT32 volatile xdata *PCVX32;
it just support this way
typedef const volatile UINT32 xdata *PCVX32;
but other ANSI C compilers support both.
Is it a bug or something else?

Parents
  • TC 2.0 and HI-TECH C for 8051 are both support this:

    typedef const volatile long *pLONG;
    
    I think most of C compilers can accept this.
    And I just find out the matter that Keil does support it. So I share it to everyone. I don't have any other thought. Keil C is a great product and I love it. Also, nothing is perfect.

Reply
  • TC 2.0 and HI-TECH C for 8051 are both support this:

    typedef const volatile long *pLONG;
    
    I think most of C compilers can accept this.
    And I just find out the matter that Keil does support it. So I share it to everyone. I don't have any other thought. Keil C is a great product and I love it. Also, nothing is perfect.

Children
No data