[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build failure in ncurses 5.9 with latest trunk GCC.
From: |
Marcus Shawcroft |
Subject: |
Build failure in ncurses 5.9 with latest trunk GCC. |
Date: |
Thu, 24 Jul 2014 09:25:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
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.
Cheers
/Marcus
- Build failure in ncurses 5.9 with latest trunk GCC.,
Marcus Shawcroft <=