[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 206444] crash on cpp duchain update
From: Jonas Widarsson <jonas () widarsson ! com>
Date: 2009-09-06 0:41:11
Message-ID: 20090906004111.6FE101DE9C () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=206444
--- Comment #4 from Jonas Widarsson <jonas widarsson com> 2009-09-06 02:41:10 ---
In the 36729 attachment there is a line that says "here I typed it" and that is
when I typed "template" into the source code and the crash happened. I typed it
when there was no progress indication down to the right. When I typed it, the
update went fast up to 80% and then hung there for a while until the crash
happened.
The file particular file looks like this. The comment says to type "template
class" but the word "template" was sufficient to have the crash:
#ifndef Globals_H
#define Globals_H
#include "TraxException.h"
class JackClient;
class GuitarAmp;
class Globals {
public:
static JackClient * jackClient;
static GuitarAmp * guitarAmp;
};
template <typename T>
T limit( T value, T loLimit, T hiLimit){
value = value > hiLimit ? hiLimit : value;
value = value < loLimit ? loLimit : value;
return value;
}
template <typename T>
T Max(const T & a, const T & b) {
return a > b ? a : b;
}
template <typename T>
T Min(const T & a, const T & b) {
return a < b ? a : b;
}
// Type "template class" without the quotes below this comment.
#endif /* Globals */
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic