[Top][All Lists]

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

Build failure with GCC 5.2.1 (was: ANN: ncurses-6.0-20150725)

From: Sven Joachim
Subject: Build failure with GCC 5.2.1 (was: ANN: ncurses-6.0-20150725)
Date: Sun, 09 Aug 2015 18:59:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux)

On 2015-07-26 03:04 +0200, Thomas Dickey wrote:

>       + use alternate workaround for gcc 5.x feature (adapted from patch by
>         Mikhail Peselnik).

I'm afraid this alternate workaround does not work at all, since I'm now
getting precisely the same failure as in https://bugs.debian.org/777461:

| gcc -DHAVE_CONFIG_H -I. -I/tmp/buildd/ncurses-6.0/ncurses -I../include 
-I/tmp/buildd/ncurses-6.0/ncurses/../include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64  -DNDEBUG -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security  --param max-inline-insns-single=1200 -fPIC -c 
../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
| In file included from /tmp/buildd/ncurses-6.0/ncurses/curses.priv.h:325:0,
|                  from ../ncurses/lib_gen.c:19:
| _6838.c:843:15: error: expected ')' before 'int'
| ../include/curses.h:1631:56: note: in definition of macro 'mouse_trafo'
|  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
|                                                         ^
| Makefile:1861: recipe for target '../obj_s/lib_gen.o' failed
| make[2]: *** [../obj_s/lib_gen.o] Error 1
| make[2]: Leaving directory '/tmp/buildd/ncurses-6.0/obj/ncurses'
| Makefile:113: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/tmp/buildd/ncurses-6.0/obj'
| debian/rules:292: recipe for target 'build-normal' failed
| make: *** [build-normal] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

This is with GCC 5.2.1 from Debian unstable:

$ gcc --version
gcc (Debian 5.2.1-14) 5.2.1 20150730


reply via email to

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