delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/19/08:31:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <d37e30051001190453qdb0764br75e5bba1a0fdfbfd@mail.gmail.com>
References: <d37e30051001190453qdb0764br75e5bba1a0fdfbfd AT mail DOT gmail DOT com>
Date: Tue, 19 Jan 2010 14:31:25 +0100
Message-ID: <d37e30051001190531t22d25829k459615a17ecfc9bb@mail.gmail.com>
Subject: Re: Problem with compiling Perl Curses.pm
From: Jurgen Defurne <jurgen DOT defurne AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Tue, Jan 19, 2010 at 1:53 PM, Jurgen Defurne
<jurgen DOT defurne AT gmail DOT com> wrote:
> Dear all,
>
> I am beginning to upgrade my environment to Cygwin 1.7. Since I have a
> whole lot of extra requirements, especially in the realm of Perl, I
> have a test case to check my software against.
>
> Well, the second package I want to add is Perl Curses.pm, which does
> not compile anymore. I get
>
> CursesVar.c: In function =E2=80=98XS_Curses_Vars_STORE=E2=80=99:
> CursesVar.c:190: error: lvalue required as left operand of assignment
> CursesVar.c:197: error: lvalue required as left operand of assignment
> CursesVar.c:204: error: lvalue required as left operand of assignment
> CursesVar.c:211: error: lvalue required as left operand of assignment
> CursesVar.c:218: error: lvalue required as left operand of assignment
> CursesVar.c:225: error: lvalue required as left operand of assignment
>
> When I expand CursesVar with inclusion of ncurses.h, I see something like=
 this :
>
> XS(XS_Curses_Vars_STORE)
> {
> =A0 =A0dXSARGS;
> =A0 =A0{
> =A0int num =3D (int)SvIV((SV*)SvRV(ST(0)));
>
> =A0switch (num) {
> =A0case 1:
>
> =A0 =A0 ncwrap_LINES() =3D (int)SvIV(ST(1));
>
>>>> Which indeed looks wrong, since the LHS of the assignment is a
>>>> function call.
>
>
> =A0 =A0 break;
> =A0case 2:
>
> I do not know if I am even on the right forum to ask this, but since I
> encounter it using Cygwin, I decided to start here. Next stop would
> probably be a Perl newsgroup or mailing list.
>
> When I compare the current environment with what we where using, then
> we skipped 6 years. We used to use Cygwin 1.3 and 1.5, but then we had
> to stop using that, because we used MontaVista as development
> environment, but we stopped using that a half year ago, and now I want
> to update our environment with the most recent version of cygwin (not
> the least because of screen, but also because of the better completion
> facilities).
>
> Regards,
>
> Jurgen Defurne
>

I also sent a bug report to bug-Curses.

Regards,

Jurgen Defurne

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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