Hi, > When I built wget for Windows, I found this error. > I guess `!_GL_SMALL_WCHAR_T` is a typo, and it should be `_GL_SMALL_WCHAR_T`. > > Line at: > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/fnmatch.c;h=d86bc49e64b47e0f87605ccf695d74e108bdf032;hb=d1db7ef2427dce3203c2b2e55ca68f9afcb3ec75#l40 > Related commit: > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=d1db7ef2427dce3203c2b2e55ca68f9afcb3ec75
I don't think it's a mistake. With the comments, it makes perfect sense: #if defined _LIBC || !_GL_SMALL_WCHAR_T /* It's OK to use wchar_t, since it's wide enough. */ #else /* wchar_t is too small, use char32_t instead. */ #endif When you say "error", not "mistake", it sounds like you encountered a compilation error. If so, how can it be reproduced: - Which commands did you issue? - What was the compiler's error message? Bruno