[C++ Patch] PR 58664

Jason Merrill jason@redhat.com
Tue May 20 03:21:00 GMT 2014


On 05/19/2014 06:43 PM, Paolo Carlini wrote:
>   	    if (unqualified_id)
> -	      error ("field %qD has incomplete type %qT",
> -		     unqualified_id, type);
> +	      cxx_incomplete_type_error (unqualified_id, type);
>   	    else
>   	      error ("name %qT has incomplete type", type);

Why not use cxx_incomplete_type_error in both cases?

Jason



More information about the Gcc-patches mailing list