bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawkapi.c: assign_number


From: Andrew J. Schorr
Subject: Re: [bug-gawk] gawkapi.c: assign_number
Date: Tue, 15 Aug 2017 15:24:15 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Tue, Aug 15, 2017 at 11:47:51AM -0700, jungle Boogie wrote:
> Getting this build failure on openbsd -current when I updated to
> commit 39c0dd124b19b49e002bc5c79edc703df51ffd3b
> 
> gawkapi.c: In function 'assign_number':
> gawkapi.c:503: warning: implicit declaration of function 'mpfr_get_d'
> gawkapi.c:503: error: 'NODE' has no member named 'mpg_numbr'
> gawkapi.c:503: error: 'ROUND_MODE' undeclared (first use in this function)
> gawkapi.c:503: error: (Each undeclared identifier is reported only once
> gawkapi.c:503: error: for each function it appears in.)
> gawkapi.c:505: error: 'NODE' has no member named 'mpg_numbr'
> gawkapi.c:508: warning: implicit declaration of function 'mpz_get_d'
> gawkapi.c:508: error: 'NODE' has no member named 'mpg_i'
> gawkapi.c:510: error: 'NODE' has no member named 'mpg_i'
> gmake[2]: *** [Makefile:682: gawkapi.o] Error 1
> gmake[2]: Leaving directory '/home/jungle/bin/gawk'
> gmake[1]: *** [Makefile:726: all-recursive] Error 1
> gmake[1]: Leaving directory '/home/jungle/bin/gawk'
> gmake: *** [Makefile:551: all] Error 2
> 
> $ gmake -v
> GNU Make 4.2.1
> Built for x86_64-unknown-openbsd6.1
> Copyright (C) 1988-2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> The only updates I saw for gawkapi.c were changing the copyright. Any
> ideas why it's failing here?

Thanks for reporting this. This is because the feature/api-mpfr
branch was merged into master, and I failed to check for HAVE_MPFR in one
place. I think the attached patch should fix it. Please let me know.

Regards,
Andy

Attachment: assign_number.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]