程序移植时编译警告

原来在6.2.1下编译正常的代码在6.4下编译出现如下警告“deprecated conversion from string to “char*””,这是怎么造成的,编译器为QCC,如何修改?