Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.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.fsf@world.std.com> <Xns929E27721D54Fsoren1Gmane@80.91.224.249>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1034020928 22737 64.165.207.58 (7 Oct 2002 20:02:08 GMT)
X-Complaints-To: usenet@main.gmane.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/

