2.95.1: confusing error message for dubious template instantiation

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Sep 30 19:57:00 GMT 1999


> I missing something obvious here as to what the gcc error message
> means?

Thanks for your bug report. The error message is confusing indeed;
even gcc couldn't find out what the code was supposed to mean :-)

The mainline compiler says

a.cc: In function `int main()':
a.cc:46: `cinc_obj.cinc::inc' is not a valid template argument
a.cc:46: no matching function for call to `compose (int)'

so it seems that bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list