On 10/25/14 09:16, Marek Polacek wrote:
This patch teaches the compiler to also print the typedef-stripped
version of a type when appropriate. C++ FE does this for a few
years now. With this patch we're able to say
note: expected 'B * {aka struct A *}' but argument is of type 'struct B *'
Compa
On Sat, 25 Oct 2014, Marek Polacek wrote:
> + pp_c_ws_string (cpp, "aka");
That should be _("aka"), as it's an English word, not a C syntax
construct.
OK with that change.
--
Joseph S. Myers
jos...@codesourcery.com
This patch teaches the compiler to also print the typedef-stripped
version of a type when appropriate. C++ FE does this for a few
years now. With this patch we're able to say
note: expected 'B * {aka struct A *}' but argument is of type 'struct B *'
Compare that with
note: expected 'struct B *' b