This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, On 06/13/2014 07:39 PM, Jason Merrill wrote:
But it doesn't work here, doesn't do anything fancy, it exactly prints 'v' and nothing else. That's why I'm puzzled... Maybe because these aren't user-defined types? (I'm guessing)On 06/13/2014 01:02 PM, Paolo Carlini wrote:Don't strip_typedefs; the error message should name the typedef.But then, are we going to just print 'v'?!? We want "typedef-name for type 'v'"?!? We already have the caret exactly below the 'v'... Please clarify which exact message you want to see.Maybe both: "invalid use of typedef-name %qT for type %qT in parameter declaration", type, strip_typedefs (type));type_as_string already deals with printing what a typedef resolves to, so we don't need to handle that here. Just "invalid use of typedef-name %qT in parameter declaration".
Paolo.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |