This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cp/error.c
- To: egcs at cygnus dot com, egcs-patches at cygnus dot com
- Subject: cp/error.c
- From: John Carr <jfc at mit dot edu>
- Date: Mon, 08 Jun 1998 16:50:58 -0400
Mon Jun 8 16:49:46 1998 John Carr <jfc@mit.edu>
* error.c (OB_PUTI): Make printf format match arguments.
*** error.c 1998/06/05 02:26:49 1.46
--- error.c 1998/06/08 20:49:46
*************** static char *scratch_firstobj;
*** 80,86 ****
IDENTIFIER_LENGTH (ID)))
# define OB_PUTCP(S) (obstack_grow (&scratch_obstack, (S), strlen (S)))
# define OB_FINISH() (obstack_1grow (&scratch_obstack, '\0'))
! # define OB_PUTI(CST) do { sprintf (digit_buffer, "%d", (CST)); \
OB_PUTCP (digit_buffer); } while (0)
# define OB_UNPUT(N) obstack_blank (&scratch_obstack, - (N));
--- 80,86 ----
IDENTIFIER_LENGTH (ID)))
# define OB_PUTCP(S) (obstack_grow (&scratch_obstack, (S), strlen (S)))
# define OB_FINISH() (obstack_1grow (&scratch_obstack, '\0'))
! # define OB_PUTI(CST) do { sprintf (digit_buffer, HOST_WIDE_INT_PRINT_DEC, (CST)); \
OB_PUTCP (digit_buffer); } while (0)
# define OB_UNPUT(N) obstack_blank (&scratch_obstack, - (N));