[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GAWK 3.1.1 warning fix
From: |
Aharon Robbins |
Subject: |
Re: GAWK 3.1.1 warning fix |
Date: |
Mon, 13 May 2002 00:34:59 +0300 |
Applied. Thanks! -- Arnold
> To: address@hidden
> Subject: GAWK 3.1.1 warning fix
> From: Andreas Schwab <address@hidden>
> Date: Fri, 10 May 2002 14:02:26 +0200
>
> This fixes a warning while building gawk: work_mbs->char and
> work_mbs->ch_classes are not assignment compatible since wchar_t and
> wctype_t are different types.
>
> Andreas.
>
> 2002-05-10 Andreas Schwab <address@hidden>
>
> * dfa.c (parse_bracket_exp_mb): Fix warning.
>
> --- dfa.c.~1~ Mon Jan 28 17:41:55 2002
> +++ dfa.c Mon Jan 28 17:42:18 2002
> @@ -513,7 +513,8 @@
>
> work_mbc->nchars = work_mbc->nranges = work_mbc->nch_classes = 0;
> work_mbc->nequivs = work_mbc->ncoll_elems = 0;
> - work_mbc->chars = work_mbc->ch_classes = NULL;
> + work_mbc->chars = NULL;
> + work_mbc->ch_classes = NULL;
> work_mbc->range_sts = work_mbc->range_ends = NULL;
> work_mbc->equivs = work_mbc->coll_elems = NULL;
>
>
> --
> Andreas Schwab, SuSE Labs, address@hidden
> SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."