This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38612] Vague error diagnostics for pointer-to-member type incompatibility
- From: "bruck dot michael at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2008 00:52:32 -0000
- Subject: [Bug c++/38612] Vague error diagnostics for pointer-to-member type incompatibility
- References: <bug-38612-17103@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bruck dot michael at googlemail dot com 2008-12-24 00:52 -------
Created an attachment (id=16978)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16978&action=view)
proposed patch to gcc/cp/typeck2.c
- changes type in error message from type to ptrmem_type as was
probably intended originally
- adds distinct messages for the two cases where incomplete types
were evaluated
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38612