|
From: | David Grothe |
Subject: | Re: bug in _nc_timed_wait ncurses 5.7 |
Date: | Mon, 06 Apr 2009 15:21:28 -0500 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
Thomas Dickey wrote:
No warning. But the gcc command line does not seem to have anything like -Wall on it either.On Mon, 6 Apr 2009, David Grothe wrote:In file ncurses/tty/lib_twait.c line 251 '&' is used without proper ()-s.if (fds[c].fd == ev->data.fev.fd && fds[c].revents & POLLIN) {I see that it builds without warnings in one of my weekly build-logs.(the build is using poll in the current log, though occasionally the configure check decides to use select...)Is gcc not warning when it should?
make[1]: Entering directory `/data/gcom/gcom/rsys/linux/ncurses-5.7/ncurses'gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -I/usr/local/include/ncurses -O2 -c ../ncurses/./tty/lib_twait.c -o ../objects/lib_twait.o
ar rv ../lib/libncurses.a ../objects/lib_twait.o r - ../objects/lib_twait.o ranlib ../lib/libncurses.a make[1]: Leaving directory `/data/gcom/gcom/rsys/linux/ncurses-5.7/ncurses'
Question: Is there documentation somewhere for wgetch_events() and its event list parameter?There's a file in the sources: ncurses/README.IZ
Thanks, I see it now. -- Dave
[Prev in Thread] | Current Thread | [Next in Thread] |