Fix warning on assigning from `const char*` to `char*`
Allow error reporting routines to accept varying number of arguments in modern style
Avoid passing `const char*` argument as `char*` in test-bison-nr
Fix warning about redefined macro when multiple scanners are used.