🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #39

BUGS in LEDA-3.2.1

#39
From: Joern Bornhoeft
Date: Tue, 15 Aug 1995 12:04
52 lines
1769 bytes
Hi,

at first, I found a little bug in LEDA 3.2.1 in 
incl/LEDA/planar_map.h, line 273, concerning the manual:

One should replace

   /*{\Manpage {PLANAR_MAP} {vtype,ftype} {Parameterized Planar Maps}}*/

by

   /*{\Manpage {PLANAR\_MAP} {vtype,ftype} {Parameterized Planar Maps}}*/

Otherwise, when you try to make the manual,
latex yields a "missing '$' inserted" and gets confused.

Additionally, at least on SGI with the compiler release 5.2 there are
still the following two problems:

1. In incl/LEDA/real.h, line 287, the inline code

  if (a < b) return -1;
  else if (a > b) return 1;
       else return 0;

should be changed into

   return (a < b) ? -1 : ((a > b) ? 1 : 0);

Otherwise, one get the error message

   sorry, not implemented: cannot expand inline function int compare(const real&, const real&) with  statement after "return".

2. In the Makefile, line 6, one should replace

        cd src;  $(MAKE) -i FLAGS=-O

by
        cd src;  $(MAKE) -i FLAGS="'-Olimit 2000'"

Otherwise, some functions cannot be optimized due to their size.

Ciao

Joern Bornhoeft

Email:	joern@mathematik.uni-bielefeld.de
Phone: 	+49 521 106-4763
Mail:	Forschungsschwerpunkt Mathematisierung - Strukturbildungsprozesse
	Universitaet Bielefeld
	Postfach 10 01 31
	33501 Bielefeld
Technical Details
Message-ID: <JOERN.95Aug15140432@math25.Mathematik.Uni-Bielefeld.DE>
Path: arc1-ca.pugleaf.net!news.uni-bielefeld.de.!joern

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.c++.leda
Path: arc1-ca.pugleaf.net!news.uni-bielefeld.de.!joern
From: joern@Mathematik.Uni-Bielefeld.DE (Joern Bornhoeft)
Subject: BUGS in LEDA-3.2.1
Sender: news@hermes.hrz.uni-bielefeld.de (News Administrator)
Message-ID: <JOERN.95Aug15140432@math25.Mathematik.Uni-Bielefeld.DE>
Date: Tue, 15 Aug 1995 12:04:32 GMT
Nntp-Posting-Host: math25.mathematik.uni-bielefeld.de
Organization: Universitaet Bielefeld, Rechenzentrum