This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Macros for printf for VMS port


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]