This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
'void value not ignored as it ought to be' error when compile readline.c file
Hi all.
I'm trying to install cross compiler at the cygwin1.3.22.
But i encounted when build gdb-4.17.
The error message is the following :
( ../gdb-4.17/configure --target=ae32000-elf --prefix=/usr/local -v )
...
gcc -c -g -D_POSIX_VERSION -I. -I../../gdb-4.17/readline/../ -DVOID_SIGHANDLER -DVI_MODE ../../gdb-4.17/readline/readline.c
../../gdb-4.17/readline/readline.c: In function `_rl_set_screen_size':
../../gdb-4.17/readline/readline.c:1174: void value not ignored as it ought to be
../../gdb-4.17/readline/readline.c:1187: void value not ignored as it ought to be
...
I guess that this is the reason of 'rldefs.h' header file.
If __CYGWIN32__ macro is valid, readline.c file will compile.
But, this __CYGWIN32__ macro looks like not valid.
How does it solve?
please give me some hits...
By djkim