Merge commit '5ea0a9436cda662264cc0dcf92d3559d532383bb'
* commit '5ea0a9436cda662264cc0dcf92d3559d532383bb':
Fix a memory deallocation error that was crashing q2dm.
'const char*' in C++ so that the code builds on gcc-4.4
ISO C++ overloads strchr() so that strchr(const char*) return 'const
char*' and strchr(char *) return 'char *'.
Since DmTrace::parseAndAddFunction really wants to write to its 'const
char *name' argument I just casted a pointer pointing inside of 'name' to 'char*'
'const char*' to make the code build on gcc-4.4.
The C++ spec overloads string fucntions like strtsr and rindex so that
rindex(char *) returns 'char*' and rindex(const char*) returns 'const
char*'.
Without this patch you get an "invalid conversion from ‘const char*’ to
‘char*’" error on gcc-4.4