Re: mathed compile error

2002-08-01 Thread Andre Poenitz
On Thu, Aug 01, 2002 at 04:22:09AM +0100, John Levon wrote: > math_gridinset.h:22: `struct MathGridInset::CellInfo' is private > math_textinset.C:141: within this context I commited a quick&dirty fix. Will have a look later. Andre' -- Those who desire to give up Freedom in order to gain Securi

mathed compile error

2002-07-31 Thread John Levon
math_textinset.C: In method `bool MathTextInset::idxUpDown (size_t &, size_t &, bool, int) const': math_gridinset.h:22: `struct MathGridInset::CellInfo' is private math_textinset.C:40: within this context math_gridinset.h:22: `struct MathGridInset::CellInfo' is private math_textinset.C:51: within

mathed compile fix

2002-07-17 Thread Herbert Voss
math_oldfontinset #inlcude "support/LOstream.h" Herbert -- http://www.lyx.org/help/

mathed - compile

2002-07-10 Thread Herbert Voss
#import "support/LOstream" in math_boxinset.C Herbert -- http://www.lyx.org/help/

Re: mathed - compile

2002-07-09 Thread Andre Poenitz
On Tue, Jul 09, 2002 at 10:36:29AM +0200, Herbert Voss wrote: > dimension.[Ch] are missing Urg... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

mathed - compile

2002-07-09 Thread Herbert Voss
dimension.[Ch] are missing HErbert -- http://www.lyx.org/help/

Re: mathed - compile

2002-07-08 Thread Andre Poenitz
Fixed. Danke. Andr'e -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

mathed - compile

2002-07-08 Thread Herbert Voss
#include in math_casesinset.C Herbert -- http://www.lyx.org/help/

Re: mathed compile problem

2001-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2001 at 05:54:50PM -0400, Garst R. Reese wrote: > It compiles. Don't know about "dangerous" yet ;) It's not really dangerous, but it is not nice. I'll fix it soonish... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: mathed compile problem

2001-12-10 Thread Andre Poenitz
On Mon, Dec 10, 2001 at 08:32:13PM +0100, Lars Gullik Bjønnes wrote: > MathAtom * MathIterator::nextInset() const > { > if (position().pos_ == xcell().data_.size()) > return 0; > return const_cast(xcell().begin() + position().pos_); > } > > Yes... this only works when po

Re: mathed compile failure

2001-08-13 Thread Andre Poenitz
> > but I guess that > > void foo() { > return void; > } > > Is still illegal, but that Sure, because the void in 'return void' is not an expression. void foo() { return void(); } on the other hand is legal, at least according to my reading of 6.6.3. void() is an expressi

Re: mathed compile failure

2001-08-13 Thread Andre Poenitz
> And this isn't only for templates? No. Everywhere. Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: mathed compile failure

2001-08-13 Thread Andre Poenitz
> Compiliation of mathed dies in MathCursor because a void function returns a > value. > > cxx: Error: math_cursor.C, line 1309: > #118 a void function may not return a value > return niceInsert(new MathFuncInset(s.substr(1))); Ok -- my first feeling was right: Your Comp

Re: mathed compile failure

2001-08-13 Thread Andre Poenitz
> Compiliation of mathed dies in MathCursor because a void function returns a > value. Cut&Paste error of mine. Fixed. I am, however, not sure that this is not legal. At least in a template context template T bar() { return T(); } template T foo() { return bar(); } { ... foo(); ... } s

mathed compile failure

2001-08-13 Thread Angus Leeming
Thanks for the missing files, André. Compiliation of mathed dies in MathCursor because a void function returns a value. cxx: Error: math_cursor.C, line 1309: #118 a void function may not return a value return niceInsert(new MathFuncInset(s.substr(1))); Angus

[PATCH] mathed compile fixes (superceeds others)

2001-06-24 Thread John Levon
thanks john -- "Euler's equation contains the five most important numbers in mathematics." Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v retrieving revision 1.85 diff -u -r1.85 ChangeLog -

[PATCH] mathed compile fix #2

2001-06-24 Thread John Levon
thanks john -- "Euler's equation contains the five most important numbers in mathematics." Index: src/mathed/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v retrieving revision 1.85 diff -u -r1.85

[PATCH] mathed compile fix for gcc 3.0

2001-06-24 Thread John Levon
hope it's ok thanks john -- "Euler's equation contains the five most important numbers in mathematics." Index: src/mathed/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v retrieving revision 1.85 d