Re: [PATCH] C++: underline param in print_conversion_rejection (more PR c++/85110)

2018-08-28 Thread Jason Merrill
OK. On Thu, Aug 23, 2018 at 11:01 AM, David Malcolm wrote: > Consider this bogus code (from g++.dg/diagnostic/param-type-mismatch-2.C): > > struct s4 { static int member_1 (int one, const char **two, float three); }; > > int test_4 (int first, const char *second, float third) > { > return

[PATCH] C++: underline param in print_conversion_rejection (more PR c++/85110)

2018-08-23 Thread David Malcolm
Consider this bogus code (from g++.dg/diagnostic/param-type-mismatch-2.C): struct s4 { static int member_1 (int one, const char **two, float three); }; int test_4 (int first, const char *second, float third) { return s4::member_1 (first, second, third); } Before this patch, g++ emits: