Paul Eggert <eggert <at> CS.UCLA.EDU> writes: > --- lib/regex_internal.c 10 Apr 2006 06:43:33 -0000 1.20 > +++ lib/regex_internal.c 10 Aug 2006 20:05:48 -0000 > <at> <at> -488,7 +488,7 <at> <at> re_string_skip_chars (re_string_t *pstr, > mbstate_t prev_st; > Idx rawbuf_idx; > size_t mbclen; > - wchar_t wc = 0; > + wchar_t wc = WEOF;
This is broken on cygwin, where wchar_t is 2 bytes but wint_t is 4 bytes. In file included from ../../gnu/regex.c:62: ../../gnu/regex_internal.c: In function `re_string_skip_chars': ../../gnu/regex_internal.c:491: warning: large integer implicitly truncated to unsigned type But I don't have a fix yet (just changing wc to type wint_t won't work). -- Eric Blake