I don't know if this can cause any problems, but here's a gcc warning
specific to compiling w3m on alpha:
gcc -O -pipe -I./gc -I. -c mktable.c -o mktable.o
mktable.c: In function `hashfunc':
mktable.c:14: warning: cast from pointer to integer of different size
The particular code is this:
static unsigned int hashfunc(HashItem_ss* x)
{
return (unsigned int)x;
}
On alpha, a pointer has 64 bits, an integer 32, so this cast
truncates the value. Changing the type to "unsigned long" should
be generally portable.
gcc -Wall of course gives heaps of warnings. :-(
-- Christian "naddy" Weisgerber naddy@unix-ag.uni-kl.de
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT