Fpermissive going to kill me

Thank you both for your replies, which do make things clearer for me. But what about the "const" in the error message. Are char arrays constant by default? It feels misleading to me when I haven't declared tmp as const char yet the error indicates a const char is involved here.