From kdevelop-bugs Wed Jul 07 02:19:41 1999 From: Alin Dobra Date: Wed, 07 Jul 1999 02:19:41 +0000 To: kdevelop-bugs Subject: C++ Parsing Infinite Loop [22:09,06.07.99] X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=93303751621909 > Bugreport ID : 22:09,06.07.99 > Originator : Alin Dobra > E-Mail : dobra@cs.cornell.edu > Subject : C++ Parsing Infinite Loop > Error Class : software bug > Error Location: editor > Priority : high > Severity : serious > Bug Description --------------------------- If one of the source files contains an incomplete C++ source and the C++ scaner is activated (opening of the project for example) KDevelop may end up in an infinite loop. Restarting KDevelop doesn't help, only writing corrnct C++ code in the respective file. You probably have an algorithmic error in the parsing code. > How to repeat the error ------------------- For example in one of my files I had the following at the end of XClusView.cpp file: void XClusView::represent(bool flag, char* in this moment the autosave+reparse were activated and KDevelop ended up in an infinite loop. > Bugfix or Workaround ---------------------- Workarround: Edit with something else the file that hase incorect C++ code and restart KDevelop. > System Information ------------------------ > KDevelop version : 0.4 > KDE version : 1.1.1 > QT version : 1.44 > OS/Distribution : Linux 2.2.9 > Compiler : egcs 1.1.2