Date: Mon, 1 May 2000 12:55:35 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Durrenbach Alban cc: djgpp AT delorie DOT com Subject: Re: Problem in building library ( Profil / Bias or Vergo ) In-Reply-To: <20000430221227.21385.qmail@web3505.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 30 Apr 2000, Durrenbach Alban wrote: > In the Vergo package, I find a makefile : makefile.djg. So I think > that this package is supported by djgpp. (more closely DOS DJGPP > Version 2.0 (gcc version 2.7.2) ). This is a very old version, both of DJGPP and of the compiler. Expect quite a few problems, especially in the C++ part. > In file included from adnode.cc:6: > interval.h: In function `class interval operator *(double, const interval &)': > interval.h:126: initialization of non-const reference type `class interval &' > interval.h:126: from rvalue of type `interval' > interval.h:82: in passing argument 1 of `interval::interval(interval &)' > adnode.cc: In function `class interval eval(const intvector &, int)': > adnode.cc:405: initialization of non-const reference type `class interval &' > adnode.cc:405: from rvalue of type `interval' [snip] > Can you help me please ? What kind of help do you expect? The compiler messages are quite clear, I think: something is wrong with how adnode.cc uses the interval class declared in interval.h. What needs to be done is to look at the lines whose numbers are printed by the compiler and figure out what is wrong there. Then correct what needs to be corrected, probably in adnode.cc. If you cannot figure out what the problems are, you should at least post the relevant portion(s) of adnode.cc and interval.h, so people here could look at the offending code.