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 Message-Id: <4.3.1.2.20020321164132.026575c8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 21 Mar 2002 16:43:06 -0500 To: "Gabriel Antonio Arcos Acosta" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: porting problem In-Reply-To: <001a01c1d120$84089c40$0400000a@CANTV.NET> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:36 PM 3/21/2002, Gabriel Antonio Arcos Acosta wrote: >I'm trying to port a program that was originally designed on IRIX system >with Delta/C++ compiler over a SGI Indy box. When I try to compile one of >the source files this error appear: > >$ gcc -w -g -I/usr/X11R6/include Chandler.cc -c -o Chandler.o >Chandler.cc: In method `void Chandler::GenerarPuntos(Complejo &, char = 0, >char >= 1)': >Chandler.cc:59: initialization of non-const reference type `class Complejo >&' >Chandler.cc:59: from rvalue of type `Complejo' >Lemniscata.h:130: in passing argument 1 of >`Lemniscata::FuncionCaracteristica(Co >mplejo &)' >Chandler.cc:100: initialization of non-const reference type `class Complejo >&' >Chandler.cc:100: from rvalue of type `Complejo' >Lemniscata.h:130: in passing argument 1 of >`Lemniscata::FuncionCaracteristica(Co >mplejo &)' > >Can someone tell what this error means? Not obviously from the information provided, no. >I'm using the gcc compiler on Win98 >with cygwin. The source compile well on the Indy box. Do you mean to imply that somehow the compiler is wrong and your code is right? Who wants to bet this has nothing to do with Cygwin? Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/