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: [mainline] PATCH to diagnostic.[hc]


"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


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