[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Next gawk beta towards 4.1.1
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Next gawk beta towards 4.1.1 |
Date: |
Thu, 17 Apr 2014 11:55:28 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
Hi Hermann.
> Date: Sat, 05 Apr 2014 03:30:49 +0200
> From: Hermann Peifer <address@hidden>
> To: "address@hidden" <address@hidden>
> Subject: Re: [bug-gawk] Next gawk beta towards 4.1.1
>
> On 2014-04-04 15:45, Aharon Robbins wrote:
> > In article <address@hidden>,
> > Hermann Peifer <address@hidden> wrote:
> >> On 2014-04-03 21:00, Aharon Robbins wrote:
> >>> http://www.skeeve.com/gawk/gawk-4.1.0h.tar.gz
> >>>
> >>> Did anyone test the last one?
> >>
> >> Yes. At least in so far that configure && make check resulted into a
> >> "ALL TESTS PASSED", on Mac OS X (same result for the current 4.1.0h
> >> version).
> >>
> >> Hermann
> >
> > Great, thanks!
> >
>
> You are welcome.
>
> By the way, and somewhat unrelated to version 4.1.0h: I do observe these
> compiler warnings around cint_array.c, int_array.c and str_array.c since
> several weeks (perhaps: months?). They don't seem to harm in any way and
> do only occur under Mac OS X, not under Linux.
>
> Attached the output of:
> $ ( ./configure && make check ) 2>&1 | tee out.log
>
> Hermann
> gcc -DDEFPATH='".:/usr/local/share/awk"'
> -DDEFLIBPATH="\"/usr/local/lib/gawk\""
> -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK
> -DLOCALEDIR='"/usr/local/share/locale
> "' -I. -g -O2 -DNDEBUG -MT cint_array.o -MD -MP -MF .deps/cint_array.Tpo
> -c
> -o cint_array.o cint_array.c
> cint_array.c:165:9: warning: cast to 'NODE **' (aka 'struct exp_node **')
> from s
> maller integer type 'int' [-Wint-to-pointer-cast]
> return (NODE **) ! NULL;
> ^
Thanks. This code is somewhat abusing the language. It works portably,
but I will agree that it isn't wonderful. Unfortunately, there isn't a
quick fix. I'm going to have to leave it alone for now.
Arnold