[mainline] PATCH to diagnostic.[hc]
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Apr 30 15:09:00 GMT 2003
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
| 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).
This is mainline where we assume ISO C90.
-- Gaby
More information about the Gcc-patches
mailing list