This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Macros for printf for VMS port
- From: Ian Lance Taylor <iant at google dot com>
- To: Douglas B Rupp <rupp at gnat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 Aug 2009 07:48:51 -0700
- Subject: Re: [PATCH] Macros for printf for VMS port
- References: <4A675E53.7010802@gnat.com>
Douglas B Rupp <rupp@gnat.com> writes:
> 2009-07-22 Douglas B Rupp <rupp@gnat.com>
>
> * hwint.h (HOST_LONG_FORMAT): New macro
> * bitmap.c, c-decl.c, mips-tfile.c, print-rtl.c, print-tree.c:
> Use HOST_PTR_PRINTF.
> * system.h (HOST_PTR_PRINTF): Resurrect old macro
> * doc/hostconfig.texi (HOST_LONG_FORMAT): Document.
> (HOST_PTR_PRINTF): Document.
> +@item HOST_PTR_PRINTF
> +If defined, the string used to indicate an argument of type @code{void *}
> +to functions like @code{printf}. The default value is @code{"p"}.
> @end ftable
This is wrong--the default value is %p.
This is OK with that change.
Thanks.
Ian