From 066d147cbfa46e524a8016aed2ac4b449400126b Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Sat, 10 Oct 1998 09:24:06 +0000 Subject: [PATCH] decl2.c (start_objects): Add new variable `joiner' and initialize it properly. 8 * decl2.c (start_objects): Add new variable `joiner' and initialize it properly. From-SVN: r22975 --- gcc/cp/decl2.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index f70867a9e5a..1f80473116d 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -2977,10 +2977,17 @@ start_objects (method_type, initp) if (flag_init_priority) { + char joiner; + +#ifdef JOINER + joiner = JOINER; +#else + joiner = '_'; +#endif if (initp == 0) initp = DEFAULT_INIT_PRIORITY; - sprintf (type, "%c%c%.5u", method_type, JOINER, initp); + sprintf (type, "%c%c%.5u", method_type, joiner, initp); } else sprintf (type, "%c", method_type); -- 2.30.2