Fix deprecated conversion from string constant to 'char*-merror messages
Fix deprecated conversion from string constant to 'char* warnigs
Fix char* warnings