Re: Use of LibTomMath (LTM 0.35)
From: Tom St Denis (tomstdenis_at_gmail.com)
Date: 03/25/05
- Next message: Roger Schlafly: "Re: Book list?"
- Previous message: jstevh_at_msn.com: "Conics, surrogate factoring, early failures"
- In reply to: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Next in thread: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Reply: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Mar 2005 16:43:58 -0800
pet...@gocougs.wsu.edu wrote:
> And working quite well. In fact, once I figured out the bug I had,
> I've been cruising along. I've now got LTM into our system and
working
> great. We've thrown all kinds of data at it, and it's working great!
>
> Just one, itsty-bitsy thing we found in tommath.h.
>
> We are definining our own heap functions using command line defines,
> i.e.:
>
> $(CFLAGS) += -DXMALLOC=my_malloc -DXREALLOC=my_realloc
> -DXCALLOC=my_calloc -DXFREE=my_free
>
> However, on line 115 of tommath.h is the definition:
>
> extern void *REALLOC(void *p, size_t n);
>
> Which of course causes warnings (and eventually linker errors) in
> bn_mp_grow.c and bn_mp_shrink.c.
>
> Of course, it was likely a typo, and should be:
>
> extern void *XREALLOC(void *p, size_t n);
>
> Which, when changed, compiles and links cleanly!
Oops, yeah that is a typo. I've fixed it locally. It will be in LTM
0.36 and LTC 1.01 [through the pre_gen].
> Thanks for the wonderful software, Tom!
Your welcome and thanks for the bug report. See teamwork ;-) hehehehe.
Tom
- Next message: Roger Schlafly: "Re: Book list?"
- Previous message: jstevh_at_msn.com: "Conics, surrogate factoring, early failures"
- In reply to: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Next in thread: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Reply: petela_at_gocougs.wsu.edu: "Re: Use of LibTomMath (LTM 0.35)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|