This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mainline] PATCH to diagnostic.[hc]
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: gcc at integrable-solutions dot net
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 15:59:57 +0100 (BST)
- Subject: Re: [mainline] PATCH to diagnostic.[hc]
- References: <m28ytsxhy5.fsf@dromion.integrable-solutions.net>
On Wed, 30 Apr 2003 gcc@integrable-solutions.net wrote:
> + static inline void
> + output_pointer (output_buffer *buffer, void *p)
> + {
> + output_formatted_scalar (buffer, "%p", p);
> + }
Should be HOST_PTR_PRINTF (some hosts with pre-C89 libraries may not
support %p in sprintf).
--
Joseph S. Myers
jsm28@cam.ac.uk