From 18a7cd243d74586c14597c1ccdb2124275a338d4 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 15 Sep 1997 18:53:28 +0000 Subject: [PATCH] call.c (joust): Disable warnings until they can be moved to the right place. * call.c (joust): Disable warnings until they can be moved to the right place. From-SVN: r15450 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/call.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 577596f7a03..11b4885eea7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 15 11:52:13 1997 Jason Merrill + + * call.c (joust): Disable warnings until they can be moved to the + right place. + Fri Sep 12 16:11:13 1997 Per Bothner * Makefile.in, config-lang.in: Convert to autoconf. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 5bf18c9b69c..c0152fbdf68 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -5977,6 +5977,7 @@ joust (cand1, cand2) if (comp != 0) { +#if 0 /* move this warning to tourney. */ if (warn_sign_promo && ICS_RANK (t1) + ICS_RANK (t2) == STD_RANK + PROMO_RANK && TREE_CODE (t1) == STD_CONV @@ -6000,6 +6001,7 @@ joust (cand1, cand2) type, type1, type2); cp_warning (" in call to `%D'", DECL_NAME (cand1->fn)); } +#endif if (winner && comp != winner) { @@ -6010,6 +6012,7 @@ joust (cand1, cand2) } } +#if 0 /* move this warning to tourney. */ /* warn about confusing overload resolution */ if (winner && cand1->second_conv && ! DECL_CONSTRUCTOR_P (cand1->fn) @@ -6030,6 +6033,7 @@ joust (cand1, cand2) cp_warning (" because conversion sequence for `this' argument is better"); } } +#endif if (winner) return winner; -- 2.30.2