delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/21/16:37:17

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
Message-ID: <001a01c1d120$84089c40$0400000a@CANTV.NET>
From: "Gabriel Antonio Arcos Acosta" <gabrielarcos AT cantv DOT net>
To: <cygwin AT cygwin DOT com>
Subject: porting problem
Date: Thu, 21 Mar 2002 17:36:46 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

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? I'm using the gcc compiler on Win98
with cygwin. The source compile well on the Indy box.


--
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