This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000 v6.4.9 compiler error: initial value of reference to non-const must be an lvalue

Guru 20045 points

Hello,

I am getting the above compiler error for the attached project.

AssignMemberFunctionToFunctionPointer4.zip

What is causing this error and how can I correct it.

Thanks,
Stephen