delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/30/02:06:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <002301c30edd$e5fb0360$5b0366d2@adcpc91DJKIM>
From: =?UTF-8?B?6rmA65Od7KSR?= <djkim AT adc DOT co DOT kr>
To: "cygwin" <cygwin AT cygwin DOT com>
References: <NCBBIHCHBLCMLBLOBONKAENDEBAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net>
Subject: 'void value not ignored as it ought to be' error when compile readline.c file
Date: Wed, 30 Apr 2003 15:01:10 +0900
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id h3U65wl06221

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019