[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unusual content in lib_gen.c and compile failure?
From: |
Thomas Dickey |
Subject: |
Re: Unusual content in lib_gen.c and compile failure? |
Date: |
Sat, 21 Oct 2017 16:40:43 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Oct 21, 2017 at 08:37:46AM -0400, Jeffrey Walton wrote:
> Hi Everyone,
>
> I'm catching a compile failure on Ubuntu 17, x86_64 and GCC 6.2.0.
> I've been able to duplicate it under 5.8, 5.9 and 6.0. Its unusual and
> I have not seen it before:
The usual problems with lib_gen.c are the C preprocessor and awk.
The build-script uses the C preprocessor to obtain the corresponding
expansion for the functions that act the same as macros (with the same
name), and awk's used to massage the output into usable C code.
I haven't looked at Ubuntu 17, but it would be helpful to know
a) which ncurses patch-date? I made a fix here:
https://invisible-island.net/ncurses/NEWS.html#t20150810
which dealt with awk differences. Some other machines may use gawk.
Debian's mawk package maintainer (an Ubuntu developer) insists on
delivering an old version with no bug-fixes applied.
b) compiler version?
If it's not awk, then it could be compiler differences (although I've
worked through the various incompatibilities introduced by the gcc
updates, Ubuntu is known to have package breakage for versions that
work in Debian...).
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature