Hartmut Birr wrote:
<snip>
Hi,
I thing that is a problem of mingw-runtime-3.5.
The
definition of wcsdup
in string.h is:
_CRTIMP wchar_t* __cdecl wcsdup (wchar_t*);
But it must be:
_CRTIMP wchar_t* __cdecl wcsdup (const wchar_t*);
Fixed in mingw runtime CVS.
Danny