This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/4100] [parser] friend qualifier accepted in definition of nested class
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 16:14:48 -0000
- Subject: [Bug c++/4100] [parser] friend qualifier accepted in definition of nested class
- References: <20010823105600.4100.bachir.ghoubali@avisto.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-12 16:14 -------
Subject: Bug 4100
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ian@gcc.gnu.org 2004-01-12 16:14:42
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/4100
* parser.c (cp_parser_decl_specifier_seq): Add check for a friend
decl-specifier occurring along with a class definition.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3868&r2=1.3869
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.150&r2=1.151
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4100