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: Corey Minyard
Subject: Re: Build failure with GCC 5.2.1 (was: ANN: ncurses-6.0-20150725)
Date: Wed, 13 Jan 2016 09:30:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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.

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.

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*);




reply via email to

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