[Bug c++/19966] Misleading message "must take exactly one argument"

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 17 14:39:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-17 14:38 -------
Subject: Bug 19966

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2005-03-17 14:37:10

Modified files:
	gcc/cp         : ChangeLog cp-tree.h decl.c 

Log message:
	2005-03-17  Paolo Carlini  <pcarlini@suse.de>
	
	PR c++/19966
	* cp-tree.h (grok_op_properties): Change return type to void.
	* decl.c (grok_op_properties): Return early - don't check the
	arity - in case of a static member or an operator that cannot
	be non-member; tidy a bit.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4664&r2=1.4665
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1110&r2=1.1111
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1378&r2=1.1379



-- 


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



More information about the Gcc-bugs mailing list