[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: problem building on ia64



On 17-Jan-2001 Bdale Garbee wrote:
> On ia64, using gcc-2.97, I was unable to compile version 1.8.3.1 until I
> added
> an include of <string.h> to include/dpkg-db.h.  With that, all is well.
> 
> Lots of warnings about "cast to pointer from integer of a different size"...
> but no apparent harm done.
> 

on ia64 a pointer is a long, not an int.  So old code that assumed sizeof(int)
== sizeof(int *) will fail in hard to find ways.



Reply to: