bug-ncurses
[Top][All Lists]
Advanced

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

Re: cur_set


From: Patrick
Subject: Re: cur_set
Date: Sat, 4 Feb 2017 22:52:40 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

On 02/04/2017 09:33 PM, Patrick wrote:
Hi Everyone

I have a really weird issue and I am stumped.

I am hacking with a runtime. It has ncurses built in. The code has many ncurses calls. However if I try to use cur_set, it won't build but it builds fine without cur_set.

This little piece is an example:

    cbreak ();
    keypad (stdscr, 1);
    cur_set(1) ;
    nonl ();
    noecho ();

The other ncurses calls compile without issue but cur_set is not recognized.

It's even weirder. I can call cur_set from the language the runtime supports. It's there and it's working.

I am using ncurses 6 with these special options,

./configure --enable-ext-putwin --enable-ext-mouse --enable-widec --with-shared --with-gpm --prefix=/usr/

I seriously doubt there is anything wrong with ncurses but it's so weird that all of the other ncurses functionality is there, it's just cur_set that is not being found.

Here is the actual error I get:

screenio.c:567:9: warning: implicit declaration of function ‘cur_set’ [-Wimplicit-function-declaration] cur_set(1) ;

and later it bails with:
undefined reference to `cur_set'


Any help would be very much appreciated ! -Patrick





_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses
Sorry everyone

Someone helped me off-list. It was a typo. I am so dumb !



reply via email to

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