Skip to content

Unusual compiler error message. Workaround?

Hello,

Attached is a small test case that gives the following compiler error message:

Screenshot_from_2021-02-25_15-00-58

The error message has no line number, but I notice that commenting out line 337 causes the error to go away.

I assume that a kernel is automatically generated for line 337 and that one of the variables there (likely mpIDX) is of type uint8'const, thereby causing the problem. This would explain the error message I see, but I could be wrong. Do you have advice on how I should address this problem?

Best regards,

Brian

kernel_uint8_error.zip

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information