|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I can find no reference in the compiler manual as to whether or not union is supported by C51. I get compiler errors from a union in my code. Is this data structure supported?
Yes. Unions are fully supported in the C51 compiler.
There must be some kind of syntactical problem in the code. Please refer to a C reference manual and try an example from one of them.
Consult "The C Programming Language" by Brian Kernighan and Dennis Ritchie or "C and the 8051" by Tom Schulz.
Article last edited on: 2005-08-03 12:37:42
Did you find this article helpful? Yes No
How can we improve this article?