It looks like you are running in 32-bit environment, but using 64-bit INTVAL. The INTVAL must be the same size as void* in order to cast between them without warning. Please try to reconfig using 32-bit INTVAL, or running process in 64-bit mode.
Hong > -----Original Message----- > From: Michael G Schwern [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 16, 2002 2:54 PM > To: Hong Zhang > Cc: [EMAIL PROTECTED] > Subject: Re: 64 bit Debian Linux/PowerPC OK but very noisy > > > On Sat, Mar 16, 2002 at 02:36:45PM -0800, Hong Zhang wrote: > > > > Can you check what is the sizeof(INTVAL) and sizeof(void*)? > > Some warnings should not have happened. > > (Note: Not a C programmer) > > INTVAL? I can't find where its defined. > > int main (void) { > printf("int %d, long long %d, void %d\n", > sizeof(int), sizeof(long long), sizeof(void*)); > } > > int 4, long long 8, void 4. > > From perl -V: > > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > ivtype='long long', ivsize=8, nvtype='double', nvsize=8, > Off_t='off_t', lseeksize=8 > alignbytes=8, usemymalloc=n, prototype=define > > > -- > > Michael G. Schwern <[EMAIL PROTECTED]> > http://www.pobox.com/~schwern/ > Perl Quality Assurance <[EMAIL PROTECTED]> > Kwalitee Is Job One > The key, my friend, is hash browns. > http://www.goats.com/archive/980402.html >