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*);
From the code in the mingw-runtime header, it looks
like we can get around this by adding -D_NO_OLDNAMES
to the compiler command. I'll try it out and see :).
-- Travis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com