Bug #6597 2006-02-27 09:57
tmtke
Project files opened multiple times
After C::B compiles the code, clicking on filtered build log to open file/jump to the erroneous line caused to open the file, but multiple times. After correcting the bug, there were some sync problems because of the same files were opened multiple times. I've been using the 2006. feb. 25. build (rev2079) with gcc/mingw.
- Category
- Application::WrongBehaviour
- Group
- Status
- Closed
- Close date
- 2006-03-01 08:00
- Assigned to
History
Sorry I can't confirm..... I have rev 2090. GCC/MinGW XP Pro. I created a new console application from the supplied templates (C++ source). I removed the semicolen after std::endl. I get an error in the build log click the error, *one* file opens. I leave the file open, and click on the error another file *does not* open...... Could you try a recent nightly.? Or maybe I didn't understand the bug....
Ok, I checked it. The problem doesn't exist in simple cases. The bug appears when the bug is to use a private virtual ctor/dtor, and other classes were derived from this class like this:
item.h
...
class item
{
private:
item() {}
virtual ~item() {}
public:
...
}
derived.h
...
class derived : public item
{
private:
derived() : item() {}
...
}
etc.
the coding bug is fairly stupid :), and can easily be fixed, but the C::B bug is present, multiple windows opened for item.h.
... but with the latest build (rev 2090) it seems the bug disappeared ... cool :)
Cool indeed. :D Could you close this bug please?
This bug is now fixed in HEAD.
Thank you for reporting it.