Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001e01c30eee$c1ba1930$546c86d9@ellixia> From: "Elfyn McBratney" To: "cygwin" , =?UTF-8?B?6rmA65Od7KSR?= References: <002301c30edd$e5fb0360$5b0366d2 AT adcpc91DJKIM> Subject: Re: 'void value not ignored as it ought to be' error when compile readline.c file Date: Wed, 30 Apr 2003 09:01:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > 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 ) > > ... > cc -c -g -D_POSIX_VERSION -I. -I../../gdb-4.17/readline/../ -DVOID_SIGHA NDLER -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... Your behind on your sources...more than three years infact. gdb is currently at version 5.3 . You can either edit the offending header and change __CYGWIN32__ to __CYGWIN__ or get the latest sources which I don't think will have this obsolete'ness. Elfyn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/