[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] wide-char and g++



"Helmut Karlowski" <helmut.karlowski@ish.de> writes:

> size_t wcslen(wchar_t const* s)
> {
>   return wcslen( (const wchar_t*)s);
> }
>
> it works, i.e. the symbol is found.

Of course it "works", you are calling the very function you just
defined, recursively.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."