[UE4]Android编译异常:error: ISO C++11 does not allow conversion from string literal
[UE4]Android编译错误:error: ISO C++11 does not allow conversion from string literal
安卓打包编译代码时报错:
error: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'wchar_t *') [-Werror,-Wwritable-string
解决办法:
将函数中的参数 TCHAR* aaa 改成 const TCHAR* aaa
参考:
https://answers.unrealengine.com/questions/194266/how-to-fix-the-text-macro-on-iososx.html