bug-ncurses
[Top][All Lists]
Advanced

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

Re: Build failure with GCC 5.2.1


From: Thomas Dickey
Subject: Re: Build failure with GCC 5.2.1
Date: Mon, 10 Aug 2015 05:05:52 -0400 (EDT)

----- Original Message -----
| From: "Sven Joachim" <address@hidden>
| To: "Thomas Dickey" <address@hidden>
| Cc: "Ncurses Mailing List" <address@hidden>
| Sent: Monday, August 10, 2015 12:34:38 AM
| Subject: Re: Build failure with GCC 5.2.1
| 
| On 2015-08-10 06:29 +0200, Sven Joachim wrote:
| 
| > On 2015-08-10 03:18 +0200, Thomas Dickey wrote:
| >
| >> The chunk in MKlib_gen.sh (which narrows down the
| >> compiler/version)
| >> now looks like this:
| >>
| >> PRG=`echo "$1" | $AWK '{ sub(/^[[:space:]]*/,"");
| >> sub(/[[:space:]].*$/, ""); print; }' || exit 0`
| >
| > This is the problem, I now get
| >
| > PRG=gcc -E -g -O2 -fstack-protector-strong -Wformat
| > -Werror=format-security --param max-inline-insns-single=1200
| >
| > i.e. the whole bag of "$(CPP) $(CPPFLAGS)" from ncurses/Makefile,
| > rather
| > than just PRG=gcc as it's supposed to be.  This might be a bug in
| > Debian's version of mawk, since it works with gawk.
| 
| Found the mawk bug, it does not support character classes:
| https://bugs.debian.org/65617.

ok - then changing the "[:space:]" to space and tab makes it work for Debian.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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