Archived

This forum has been archived. Please start a new discussion on GitHub.

ICE don't take wchar_t as original C++ type

I find that in the VC7.0 and 7.1, ice havn't taken wchar_t as original C++ type. But VC7.0 project take wchar_t as original C++ type by default. So if I try to use function taking wstring as parameters, like wstringToString, a linkage error information will occur.

Comments

  • bernard
    bernard Jupiter, FL
    Hello,

    Thanks for isolating this bug: until now, default VC7.x Ice builds could not be used with /Zc:wchar_t.
    Please apply the attached patch to a source Ice distribution and rebuild IceUtil (or everything): you'll get an Ice build that can be used by applications built with or without /Zc:wchar_t.

    Cheers,
    Bernard