Compile error with QT_STRICT_ITERATORS

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Oct 19 14:21:04 BST 2008


Hi,


This code doesn't compile - neither with msvc nor with gcc 3.4.5 (mingw):

----------------------------8<------------
#define QT_STRICT_ITERATORS
#include <QtCore/QHash>

int main(int, char**)
{
   QMultiHash<QString,QString> myHash;
   myHash.remove("blub", "blub");

   return 0;
}
----------------------------8<------------

Looks like a qt-bug to me or do I miss something?



Christian




More information about the kde-core-devel mailing list