Can the limit on the number of record extension levels be increased?
Can the limit on the number of record extension levels be increased?
We are using the "Record- Inheritance" quite intensively. Unfortunately, this is now limited to a depth of 4. Would it be a big deal to increase this to something a bit higher like 8 or 16?
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Can the limit on the number of record extension levels be increased?
There is now a compiler option 'Extension levels' on the Tools > Preference > Compiler tab page. This allows you to change the limit of the number of record extension levels from as little as zero to as many as 8.
Be aware that it is a system-wide option. Each additional level incurs an overhead of four bytes for every record variable in all of your Astrobe for Cortex-M applications built on that development PC. If the value of the option is changed at any time, any module which contains a record variable will be automatically recompiled when an application which imports it is next built.
Be aware that it is a system-wide option. Each additional level incurs an overhead of four bytes for every record variable in all of your Astrobe for Cortex-M applications built on that development PC. If the value of the option is changed at any time, any module which contains a record variable will be automatically recompiled when an application which imports it is next built.