[C++ Patch] PR 50660

Jason Merrill jason@redhat.com
Tue Oct 11 00:42:00 GMT 2011


On 10/10/2011 12:44 AM, Paolo Carlini wrote:
> If I just do this (I hope it's what you had in mind):
>
> - tree t = non_reference (totype);
> + tree t = totype; /*non_reference (totype); */
>
> variadic111.C:16:22: warning: converting ‘false’ to pointer type for
> argument 3 of ‘void S<Args1>::f(Args1 ..., Args2&& ...) [with Args2 =
> {bool, char}; Args1 = {int, double}]Â’ [-Wconversion-null]

Hmm, need to also change POINTER_TYPE_P to TYPE_PTR_P.

Jason



More information about the Gcc-patches mailing list