M
Mahmoud Abdel-Fattah
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.
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.