Roger Koehler wrote:
I am building the tools per SVN-20150811 for amd64 and came across
this error in 5.15 (Ncurses-6.0):

In file included from ./curses.priv.h:325:0,
                  from ../ncurses/lib_gen.c:19:
_22736.c:1372:15: error: expected ')' before 'int'
../include/curses.h:1943:56: note: in definition of macro 'mouse_trafo'
  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
                                                         ^
make[1]: *** [../obj_s/lib_gen.o] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-6.0/ncurses'
make: *** [all] Error 2

It must be an issue with the new tool chain (glibc-2.22) because I get
the same error following the stable (7.7) book.

I did not get that. It looks like you may have trimmed a little too much context. Can you please post some more.

Check ncurses.h  you should see around line 1932:

extern NCURSES_EXPORT(bool) wmouse_trafo (const WINDOW*, int*, int*, bool); extern NCURSES_EXPORT(bool) mouse_trafo (int*, int*, bool); /* generated */
...

#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to