Re: CVS: Linux compile problem

2001-12-04 Thread Kayvan A. Sylvan
On Tue, Dec 04, 2001 at 01:16:58PM +0100, Lars Gullik Bjønnes wrote: | it to a lib. | A fix went in today adding an include for cmath in lyxlength.C | Maybe it is not right for all cases. | Garst try to add a std::abs on that abs if not already done. This fixed my compile problem: Index:

Re: CVS: Linux compile problem

2001-12-04 Thread Kayvan A. Sylvan
On Tue, Dec 04, 2001 at 05:49:19PM +0100, Lars Gullik Bjønnes wrote: Kayvan A. Sylvan [EMAIL PROTECTED] writes: | On Tue, Dec 04, 2001 at 01:16:58PM +0100, Lars Gullik Bjønnes wrote: | it to a lib. | A fix went in today adding an include for cmath in lyxlength.C | Maybe it is not right

Re: CVS: Linux compile problem

2001-12-04 Thread Kayvan A. Sylvan
On Tue, Dec 04, 2001 at 01:16:58PM +0100, Lars Gullik Bjønnes wrote: > | it to a lib. > | A fix went in today adding an include for cmath in lyxlength.C > | Maybe it is not right for all cases. > | Garst > > try to add a std::abs on that abs if not already done. This fixed my compile problem:

Re: CVS: Linux compile problem

2001-12-04 Thread Kayvan A. Sylvan
On Tue, Dec 04, 2001 at 05:49:19PM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Tue, Dec 04, 2001 at 01:16:58PM +0100, Lars Gullik Bjønnes wrote: > >> | it to a lib. > >> | A fix went in today adding an include for cmath in lyxlength.C > >> | Maybe

CVS: Linux compile problem

2001-12-03 Thread Kayvan A. Sylvan
g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I../boost-isystem /usr/X11R6/include -O2 -m486 -fno-strength-reduce -W -Wall -c lyxlength.C lyxlength.C: In method `const class string LyXLength::asLatexString() const': lyxlength.C:82: call of overloaded `abs (int)' is ambiguous

CVS: Linux compile problem

2001-12-03 Thread Kayvan A. Sylvan
g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I../boost-isystem /usr/X11R6/include -O2 -m486 -fno-strength-reduce -W -Wall -c lyxlength.C lyxlength.C: In method `const class string LyXLength::asLatexString() const': lyxlength.C:82: call of overloaded `abs (int)' is ambiguous