Is there a HOST_BITS_PER_POINTER macro?
Jeffrey A Law
law@cygnus.com
Fri Feb 6 00:57:00 GMT 1998
In message < 19980205221028.48772@dot.cygnus.com >you write:
> On Thu, Feb 05, 1998 at 07:45:09PM -0500, Kaveh R. Ghazi wrote:
> > I get a warning from "-W -Wall" which complains about int format vs
> > pointer argument. Is there a way to define a macro in machmode.h
> > which can cast the pointer to the appropriately sized integer type?
>
> Ideally you would use "%p" everywhere, but to support bootstrapping,
> we should probably autoconf a test for that.
Agreed.
We autoconf test for it, then define/use HOST_PTR_PRINTF appropriately.
jeff
More information about the Gcc
mailing list