Hello all,
After upgrading from an ancient version of C51 to the latest greatest V8.05A, legacy code does not compile any longer because:
Build target 'Target 1' assembling STARTUP.A51... compiling VLTCAN11.C... TERM32.H(41): error C231: '_getkey': redefinition
I do agree it is a redefinition, however it is a deliberate one and the previous compiler did not complain.
Any suggestions on how to replace _getkey and get the code compiled ?
"apart from"
So, there's a difference then? That explains the "redefinition" error.
Why the need for reentrancy?
Ah how could I be so blind.
The program uses the RTX51 kernel and different tasks can call. But this would only make sense for the output function and not for _getkey().
Thanks a lot, seems I can delete the function attributes in the legacy code without risk.
" seems I can delete the function attributes in the legacy code without risk. "
what are you going to delete, check out,
'" seems I can delete the function attributes in the legacy code without risk. "'
"what are you going to delete,"
Um, the function attributes.