1

I'm making release build of my Application in QT + opendds-3.13 i m getting this error.

..\OpenDDS-3.13\ACE_wrappers\ace/OS_NS_netdb.inl(794): error C2440: 'return': cannot convert from 'WCHAR *' to 'const ACE_TCHAR *'

although i can successfully build the debug version only facing this problem in release build.

halfelf
  • 9,737
  • 13
  • 54
  • 63

1 Answers1

2

Very likely you have incorrect compiler settings, check especially the unicode settings of your project.

Johnny Willemsen
  • 2,942
  • 1
  • 14
  • 16
  • but the debug version build is working fine, its successfully build and run although when I build the release version its throw that error. I am using QT Framework. – Safdar Sikander Jan 04 '19 at 14:40
  • it could be that there are differences between the debug and release settings, just compare them – Johnny Willemsen Jan 04 '19 at 19:21