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

Compiling a structure bigger than 4096 bytes

Hi,

I'm trying to compile a structure that is bigger than 4096 bytes, and the compiler (c51.exe V6.02d) answers :
GENOMF FATAL-ERROR: TYPE-RECORD TOO LARGE (4096).

Is there a solution different that the one consisting in splitting the structure ?

THX
Jose

Parents
  • The problem is not the struct itself. The problem is the debug data type information behind this struct. Version 6.02 is already pretty old. We have increased compiler limits in Version 7 at lot, so this error will most likely not happen with a current tool version.

    You may try an current Eval Version to see if this error appears there.

    If you want to stay with your old C51 Version 6.02 you might reduce the variable name lenght of struct members. This shrinks the data type information.

Reply
  • The problem is not the struct itself. The problem is the debug data type information behind this struct. Version 6.02 is already pretty old. We have increased compiler limits in Version 7 at lot, so this error will most likely not happen with a current tool version.

    You may try an current Eval Version to see if this error appears there.

    If you want to stay with your old C51 Version 6.02 you might reduce the variable name lenght of struct members. This shrinks the data type information.

Children
No data