X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fregexec.c;h=7c186aa2077bfe98f27f4ccf95eea9b4972ef532;hb=32010832553b80e02a45590314181456bc951aa5;hp=84c3aed634997347fd6c121ae9d2918832f2cb9a;hpb=1b85e216d2ceb6d219d509b0471242d5b3dd88eb;p=gnulib.git diff --git a/lib/regexec.c b/lib/regexec.c index 84c3aed63..7c186aa20 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -3966,7 +3966,7 @@ check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx, # endif /* _LIBC */ { /* match with range expression? */ -#if __GNUC__ >= 2 +#if __GNUC__ >= 2 && ! (__STDC_VERSION__ < 199901L && __STRICT_ANSI__) wchar_t cmp_buf[] = {L'\0', L'\0', wc, L'\0', L'\0', L'\0'}; #else wchar_t cmp_buf[] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'};