epics-modules / motor

APS BCDA synApps module: motor
https://epics-modules.github.io/motor/
20 stars 47 forks source link

send_mess() uses 'const char *' (and more const char*) #146

Closed tboegi closed 4 years ago

tboegi commented 4 years ago

The 2nd and 3rd parameter in send_mess() can and should be a 'const char ' instead of just 'char '. Modern compilers complain here, so that the signature now gets the const.

Update drivers from the following list to use the new send_mess(): modules/motorAcs modules/motorAcsTech80 modules/motorAerotech modules/motorFaulhaber modules/motorIms modules/motorKohzu modules/motorMclennan modules/motorMicos modules/motorMicroMo modules/motorNewFocus modules/motorNewport modules/motorOms modules/motorOriel modules/motorPI modules/motorParker modules/motorPiJena modules/motorSmartMotor modules/motorThorLabs

And while there, fix one more "const char *" in motordrvCom.cc