[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: |
Wed, 13 Jan 2016 21:06:05 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jan 13, 2016 at 09:30:48AM -0600, Corey Minyard wrote:
> In reference to:
> http://lists.gnu.org/archive/html/bug-ncurses/2015-08/msg00009.html
>
> I'm seeing the same issue, and I didn't see any resolution on the
> mailing list, and ncurses has no publicly available repository that
> I can find.
But the followup messages on that thread show that I addressed the
problem, and there has been no activity on that for several months.
http://lists.gnu.org/archive/html/bug-ncurses/2015-08/msg00014.html
> I fixed the problem with the following patch, though I'm not exactly
> sure why this fixes the problem. But the forward definition of
> mouse_trafo is kind of pointless here, mouse_trafo is #define-ed to
> call wmouse_trafo() about 12 lines down. So the function could
> never be called.
It can be called easily - see the curses.h header file:
#ifndef NCURSES_NOMACROS
>
> Thanks,
>
> -corey
>
> --- a/include/curses.tail.old 2016-01-05 19:55:06.267420940 -0600
> +++ b/include/curses.tail 2016-01-05 19:55:14.575557130 -0600
> @@ -101,7 +101,6 @@
> extern NCURSES_EXPORT(bool) wenclose (const WINDOW *, int, int);
> extern NCURSES_EXPORT(int) mouseinterval (int);
> extern NCURSES_EXPORT(bool) wmouse_trafo (const WINDOW*, int*,
> int*, bool);
> -extern NCURSES_EXPORT(bool) mouse_trafo (int*, int*, bool);
> /* generated */
>
> #if NCURSES_SP_FUNCS
> extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_mouse) (SCREEN*);
>
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature