[Top][All Lists]

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

Re: Build failure in ncurses 5.9 with latest trunk GCC.

From: Thomas Dickey
Subject: Re: Build failure in ncurses 5.9 with latest trunk GCC.
Date: Thu, 24 Jul 2014 20:40:46 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jul 24, 2014 at 09:25:29AM +0100, Marcus Shawcroft wrote:
> Folks,
> Recent trunk GCC fails to build ncurses 5.9 with the following error:
> In file included from 
> /home/marcus/work/dev-fsf-trunk/src/ncurses/ncurses/curses.priv.h:283:0,
>                  from ../ncurses/lib_gen.c:19:
> ../ncurses/lib_gen.c:923:15: error: expected ‘)’ before ‘int’
>   mouse_trafo (int * a1, int * a2,
>                ^
> ../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
>  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
> The issue was reported to gcc bugzilla here:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61832
> The underlying issue appears to be that the ncurses script
> MKlib_gen.sh consumes C pre-processed output and hardwires
> assumptions about the # directives emitted which no longer hold.

Since there aren't any portable tools for what it's doing, ncurses has scripts.
Given the version information on the report, it sounds as if that'll become a
problem sometime this winter.

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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