This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9259] Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type"
- 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: 15 Jan 2004 23:41:52 -0000
- Subject: [Bug c++/9259] Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type"
- References: <20030110065603.9259.bangerth@ticam.utexas.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-15 23:41 -------
Subject: Bug 9259
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: giovannibajo@gcc.gnu.org 2004-01-15 23:41:42
Modified files:
gcc/cp : ChangeLog typeck.c
Log message:
PR c++/9259
* typeck.c (build_class_member_access_expr): Allow to access members
of the currently open class.
(finish_class_member_access_expr): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3884&r2=1.3885
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.518&r2=1.519
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9259