Hi!
I would like to report the following bug in the mathmode:
1. create a new document (File/New)
2. open math-mode by clicking on the toolbar or by selecting Math/Math
Mode in menu
3. type "\alpha " and enjoy LyX dumping a core.
Marko
PS: I hope it is not only in my build (Gnome frontend)
Marko Vendelin wrote:
>
> Hi!
>
> I would like to report the following bug in the mathmode:
>
> 1. create a new document (File/New)
> 2. open math-mode by clicking on the toolbar or by selecting Math/Math
>Mode in menu
> 3. type "\alpha " and enjoy LyX dumping a core.
>
> Marko
>
> PS: I
On Mon, 18 Sep 2000, Marko Vendelin wrote:
>
> Hi!
>
> I would like to report the following bug in the mathmode:
>
> 1. create a new document (File/New)
> 2. open math-mode by clicking on the toolbar or by selecting Math/Math
>Mode in menu
> 3. type "\alpha " and enjoy LyX dumping a core.
On Mon, 18 Sep 2000, Lior Silberman wrote:
> On Mon, 18 Sep 2000, Marko Vendelin wrote:
>
> >
> > Hi!
> >
> > I would like to report the following bug in the mathmode:
> >
> > 1. create a new document (File/New)
> > 2. open math-mode by clicking on the toolbar or by selecting Math/Math
> >
Lior Silberman <[EMAIL PROTECTED]> writes:
| This also happens in xforms. The culprit appears to be the following line
| (line 787 of mathed/math_cursor.C):
|
| imacro->SetName(0);
I really wonder why gcc accepts that.
| which is:
|
| void MathedInset::SetName(string const & n) { name =
On 18 Sep 2000, Lars Gullik Bjønnes wrote:
> Lior Silberman <[EMAIL PROTECTED]> writes:
>
> | I think this should say one of:
> | imacro->SetName(string());
> | imacro->SetName(string(""));
> | imacro->SetName("");
>
> Either of the above should work.
> (First or last looks best)
>
Lior Silberman <[EMAIL PROTECTED]> writes:
| I meant to ask whether some version of imacro->SetName(emptystring);
| is the correct syntax. Anyway: the following implements the first
| option.
I already did it with the last option. (+ another memory leak fix)
Lgb
> | imacro->SetName(0);
>
> I really wonder why gcc accepts that.
0 is a valid "char const *" and std::string has a constructor taking such
a pointer. So 0 is valid argument here.
Might be a good idea to have a debug version of our own string
implementation with a constructor taking an in