On 7 Oct 2003 at 8:16, Gerrit P. Haase wrote:
Hallo,
I'm running make check right now and I'm getting a problem with crtc.c. Several hundred lines warnings and errors, in several tests. E.g. the last lines: ... .../gcc/p/units/crtc.c: In function `crt_GetShiftState': .../gcc/p/units/crtc.c:894: warning: implicit declaration of function `PDC_get_key_modifiers' .../gcc/p/units/crtc.c:895: error: `PDC_KEY_MODIFIER_SHIFT' undeclared (first use in this function) .../gcc/p/units/crtc.c:895: error: (Each undeclared identifier is reported only once .../gcc/p/units/crtc.c:895: error: for each function it appears in.) .../gcc/p/units/crtc.c:896:
[...]
I remember having seen this problem before, but I can't remember how I solved it. I suspect that it is an ncurses problem (I had all sorts of problems with Cygwin ncurses, which I eventually dumped in favour of PDCurses). My conclusion was that ncurses is broken under Cygwin. Perhaps that is still the case.
Try PDCurses (pass "-DUSE_PDCURSES" at the command line) and see whether you still get the same problem. Running the testsuite, I don't get any of these problems that you report. If you reverse your patch to use ncurses, you may well find that this is the case as well.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/