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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Shankar Unni 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: 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 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/