www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/05/05:39:41

From: jere AT sci DOT fi (Jere Käpyaho)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ STL Question: priority_queue<...>
Date: Thu, 05 Dec 1996 08:26:10 GMT
Organization: Scifi Communications International, http://www.sci.fi/, helpdesk AT sci DOT fi, (931)3186277
Lines: 31
Message-ID: <32a685d8.1097590@news.sci.fi>
References: <5800rr$5jp AT ns2 DOT southeast DOT net>
NNTP-Posting-Host: cccliv.dyn.sci.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 03 Dec 1996 01:38:16 GMT, edkiser AT jaxnet DOT com (M. Edward Kiser)
wrote:

>typedef priority_queue<vector<float>, greater<float> > pqueue;
> [...]
>These are the errors produced: (I've tried to neaten the formatting a
>little to make the errors more readable...)
> [...]
>I looked at the code there, and I can't really tell what it's trying
>to do or why type unification should fail. Is this a bug in the GCC
>STL implementation? Or did I do something wrong with the parameters?

So you've been bitten by that as well. I posted a message about this
on this very same newsgroup two or three weeks ago, and didn't get a
single reply. I tried the exact same priority_queue istantiation
(although with ints, but anyway) and got the exact same error messages
about "type unification failing" in heap.h.

I understand that this rant will not help you, but this is just to
confirm that the problem does exist. It might prompt someone with more
insight to look at the problem and come up with a solution. I'm stuck
too.

For what it's worth: I was using DJGPP 2.01 (g++ 2.7.2.1).

Regards,
Jere

--
// Jere Käpyaho - Finnish computer journalist - programmer - translator //
// E-mail: jere AT sci DOT fi --- World-Wide Web: http://www.sci.fi/~jere      //

- Raw text -


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