Safdar Sikander
Safdar Sikander

Reputation: 23

Opendds-3.13 Release build failure

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.

Upvotes: 1

Views: 217

Answers (2)

Sundas
Sundas

Reputation: 11

Add DEFINES -= UNICODE in your pro

Upvotes: 1

Johnny Willemsen
Johnny Willemsen

Reputation: 3002

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

Upvotes: 2

Related Questions