This is the mail archive of the gcc-bugs@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]

[Bug c++/18733] [4.0 Regression] friend rejected


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]