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:
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
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:
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
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
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