[Bug c++/18733] [4.0 Regression] friend rejected
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 17 16:44:00 GMT 2004
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-17 16:44 -------
The patch looks correct although the code is messy. With the patch,
when is_friend is true and processing_specialization is false, we
no longer count the number of template header to see if there are
too many - but we've already done that in
cp_parser_check_template_parameters.
The code duplication in cp_parser_check_template_parameters and
current_tmpl_spec_kind could be removed in GCC 4.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18733
More information about the Gcc-bugs
mailing list