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++/31423] Improve upon "invalid use of member (did you forget the '&' ?)"


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31423

--- Comment #10 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-21 18:19:00 UTC ---
Author: paolo
Date: Fri Oct 21 18:18:55 2011
New Revision: 180309

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180309
Log:
/cp
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/31423
    * typeck2.c (cxx_incomplete_type_diagnostic): Improve error message
    for invalid use of member function.

/testsuite
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/31423
    * g++.dg/parse/error43.C: New.
    * g++.dg/parse/error44.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/parse/error43.C
    trunk/gcc/testsuite/g++.dg/parse/error44.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


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