Re: Common Porting Problem

Michal Jaegermann (michal@ellpspace.math.ualberta.ca)
Thu, 28 Nov 1996 22:34:40 -0700 (MST)

>
> > Or am I doomed to wading through dozens of
> > "warning: cast to pointer from integer of different size"
> > messages?
> >
...
>
> Or you can typedef those ints into longs :-)

Particularly nice if you pass them later to a function (especially
from a library :-) which expects ints for arguments. Don't forget
to set a high limit for core sizes before you will do that.
Excellent for learning dark corners of gdb. :-)

--mj

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices