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