Mail Archives: djgpp/1996/12/05/05:39:41
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 -