Connect with us

Problem with uVision C compiler

Discussion in 'General Electronics' started by Mahmoud Abdel-Fattah, Jan 27, 2004.

  1. I am using uVision to make a project using Atmel's AT89C51. This part
    of the code does not work (it generates a compile error, saying that
    it expects a semicolon before the pointer!):

    struct reading {
    short value;
    };

    reading *back;
    reading *front;


    Now what is the problem? I thought that uVision's 89C51 compiler
    supports pointers. At least it is mentioned in the Compiler limits
    that:

    "A maximum of 19 levels of indirection (access modifiers) to any
    standard
    data type are supported. This includes array descriptors, indirection
    operators, and function descriptors."

    What can the problem be? Thank you.
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...
Electronics Point Logo
Continue to site
Quote of the day

-