Farid Zaripov wrote: > In etc/config/libc_decl.sh the function wctomb is checked twice: first > in stdlib.h, second in wchar.h > > libc_decl.sh, line 272: > stdlib) > c90_funs="abort ... wctomb" > > libc_decl.sh, line 286: > wchar) > funs="btowc ... wctomb ... wscanf" > > After that the config.h contains: > > // #define _RWSTD_NO_WCTOMB - the function is found in > #define _RWSTD_NO_WCTOMB - the function is not found in > > It is incorrect. > > The same concern wcstombs. > > I didn't found platform where wctomb is declared in header. You're right, wctomb is only supposed to be declared in stdlib.h. It got probably confused with wctob. > > Shall we remove checking of theese functions in wchar.h ? I think that makes sense. Martin