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 (was: ANN: ncurses-6.0-20150725)


From: Thomas Dickey
Subject: Re: Build failure with GCC 5.2.1 (was: ANN: ncurses-6.0-20150725)
Date: Sun, 9 Aug 2015 13:06:40 -0400 (EDT)

----- Original Message -----
| From: "Sven Joachim" <address@hidden>
| To: "Thomas Dickey" <address@hidden>
| Cc: "Ncurses Mailing List" <address@hidden>
| Sent: Sunday, August 9, 2015 12:59:23 PM
| Subject: Build failure with GCC 5.2.1 (was: ANN: ncurses-6.0-20150725)
| 
| 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

...then I suppose I'll have to setup a machine with the same configuration to 
see the problem.
(I tested with 5.1 from Fedora22).

-- 
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]