`
aigo
  • 浏览: 2541825 次
  • 性别: Icon_minigender_1
  • 来自: 宜昌
社区版块
存档分类
最新评论

[UE4]Android编译错误:error: ISO C++11 does not allow conversion from string literal

UE4 
阅读更多

 

安卓打包编译代码时报错:

 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

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics