|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Error 166 (Array of Functions)Information in this article applies to:
SYMPTOMSDoes the C51 Compiler support arrays of functions? I get the following error when I try to do that:
My program appears as follows:
What's going on? CAUSEC supports arrays of function pointers. It does not support arrays of functions. The declaration you have for the array is close but it is not quite correct. RESOLUTIONChange your declaration to the following:
MORE INFORMATIONFor more information, refer to Application Note 129. Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.