Re: cvs tree still crashes on Alpha, possible solution?

Dan Schreiber (dan@abisource.com)
Wed, 11 Nov 1998 11:45:10 -0600


This shouldn't affect AbiWord at all. Regex was recently put in the tree,
but nothing in AbiWord uses it yet, so I doubt these warning are related...

We are using GNU's regex, and I went through the code to remove a bunch of
compiler warnings (mostly signed/unsigned conversions). It now compiles
cleanly on Windows. We'd be happy to incorporate any changes required for
the Alpha back into the tree :)

At 12:09 PM 11/11/98 -0500, Brian E.W. Wood wrote:
>
>The cvs tree still segfaults on my alpha. In fact as of last night's
version it
>does do even faster, as soon as I select a menu item.
>
>I get a lot of warnings when compiling ut_regex.c:
>
>ut_regex.c:
>ut_regex.c: In function `print_compiled_pattern':
>ut_regex.c:732: warning: int format, different type arg (arg 2)
>ut_regex.c:732: warning: int format, different type arg (arg 3)
>ut_regex.c:740: warning: int format, different type arg (arg 2)
>ut_regex.c: In function `regex_compile':
>ut_regex.c:1626: warning: suggest explicit braces to avoid ambiguous `else'
>ut_regex.c:1646: warning: suggest explicit braces to avoid ambiguous `else'
>ut_regex.c: In function `re_match_2':
>ut_regex.c:3376: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3628: warning: int format, different type arg (arg 2)
>ut_regex.c:3631: warning: int format, different type arg (arg 2)
>ut_regex.c:3664: warning: int format, different type arg (arg 2)
>ut_regex.c:3667: warning: int format, different type arg (arg 2)
>ut_regex.c:3765: warning: cast from pointer to integer of different size
>ut_regex.c:3765: warning: cast from pointer to integer of different size
>ut_regex.c:3771: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3771: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3771: warning: unsigned int format, different type arg (arg 2)
>ut_regex.c:3771: warning: cast to pointer from integer of different size
>ut_regex.c:3771: warning: cast to pointer from integer of different size
>ut_regex.c:3771: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3771: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3771: warning: cast to pointer from integer of different size
>ut_regex.c:3916: warning: unsigned int format, pointer arg (arg 3)
>ut_regex.c:3918: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3918: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3918: warning: unsigned int format, different type arg (arg 2)
>ut_regex.c:3918: warning: cast to pointer from integer of different size
>ut_regex.c:3918: warning: cast to pointer from integer of different size
>ut_regex.c:3918: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3918: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3918: warning: cast to pointer from integer of different size
>ut_regex.c:3939: warning: unsigned int format, pointer arg (arg 3)
>ut_regex.c:3971: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3971: warning: unsigned int format, pointer arg (arg 2)
>ut_regex.c:3971: warning: unsigned int format, different type arg (arg 2)
>
>
>And many more such.
>
>Pointer to integer (and vice versa) is a common source of trouble on Alpha
>machines.
>
>Does this provide any clues to anyone who knows more about these things
than I?
>
>
>
>---
>Brian E.W. Wood beww@intac.com
>



This archive was generated by hypermail 1.03b2.