Message-Id: <199608142051.AA05261@sun17.thp.Uni-Koeln.DE> Date: Wed, 14 Aug 96 22:51:26 0200 Sender: brenig AT thp DOT Uni-Koeln DOT DE From: Wolfram Brenig Organization: Institute of Theoretical Physics, University of Cologne, Germany Mime-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: DJGPP's STL Problem/Bug ?! Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii HELP !!!!!, can anybody provide help on this problem I have with DJGPP's STL implementation -- or is anybody at least willing to confirm the following compilation error: STL contains a class deque and STL provides for a number of algortihms which *should* act properly on deque. However, most of these algortihms, like: rotate(..) unique(..) reverse(..) random_shuffle(..) ...and I dont no how many else of them will not compile within DJGPP. At least not for me. The error always consits of one, or both of the following: ***************************************** c:/djgpp/lang/cxx/algo.h:520: type unification failed for function template `template Distance * distance_type (input_iterator<...> &)' c:/djgpp/lang/cxx/algo.h:521: type unification failed for function template `template struct input_iterator_tag iterator_category(input_iterator<...> &)' ***************************************** A simple example program to check this is: #include #include int main() { deque v; v.push_back(1); v.push_back(2); v.push_back(3); reverse(v.begin(),v.end()); return EXIT_SUCCESS; } Any help is most appreciated !!!!