Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 QT + opendds-3.13 中发布我的应用程序,我收到此错误。
..\OpenDDS-3.13\ACE_wrappers\ace/OS_NS_netdb.inl(794):错误 C2440:'return':无法从 'WCHAR *' 转换为 'const ACE_TCHAR *'
尽管我可以成功构建调试版本,但仅在发布版本中遇到此问题。
很可能您的编译器设置不正确,特别是检查项目的 unicode 设置。