[Doxygen-develop] index out of range error
Brought to you by:
dimitri
From: Berno L. <ber...@ep...> - 2001-09-22 22:57:43
|
Hello, has anyone succeeded in feeding the Qt-Lib into doxygen? I tried it with the qt-copy of KDE and the current cvs checkout of Doxygen and get many errors like "QGArray::at: Absolute index -1 out of range". The file of Qt that causes the error is qmotifdnd_x11.cpp. The error seems to occur in the method "getResolvedClass" of utils.cpp in the while-statement after one of the comments "// strip * and & from n" (ca. line 476). After uncommenting the printf lines, the last words of doxygen are: getResolvedClass(DndTargetsTableRec,DndTargetsTableEntry) typedef subst=`*' QGArray::at: Absolute index -1 out of range QGArray::at: Absolute index -2 out of range QGArray::at: Absolute index -3 out of range ... Checking whether ip is greater/equal 0 supresses the error but I don't know whether that makes sense: while (ip>=0 && (subst.at(ip)=='*' || subst.at(ip)=='&' || subst.at(ip)==' ')) ip--; --- Gruß Berno |