delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/07/16:02:51

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: Patch to get bc 1.06 to compile under Cygwin with readline library.
Date: Mon, 07 Oct 2002 13:02:28 -0700
Lines: 16
Message-ID: <3DA1E854.2050109@cotagesoft.com>
References: <ubs6bd0l1 DOT fsf AT world DOT std DOT com> <Xns929E27721D54Fsoren1Gmane AT 80 DOT 91 DOT 224 DOT 249>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1034020928 22737 64.165.207.58 (7 Oct 2002 20:02:08 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Mon, 7 Oct 2002 20:02:08 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact)
X-Accept-Language: en-us, en

On 10/5/2002 12:52 AM, Soren A wrote:

> I cannot verify the need for or methodology of your patch, yet, but
> thanks for posting. 

The need for it is obvious, if you look at the declaration he patched 
out:  readline() is actually declared (in readline.h) as taking a 
_const_ char * parameter, while the (superfluous) declaration in the 
source had just a "char *" parameter, which is of course an incompatible 
redeclaration.

The patch is correct (or rather, it would be more correct if it simply 
deleted the line).
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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