Go to file
Nathan Sidwell b2a9b2086a re PR c++/20637 (Confusing message with different using declarations)
cp:
PR c++/20637
	* cp-tree.h (add_method): Add using_decl parameter.
	* class.c (add_method): Add using_decl parameter.  Adjust error
	messages.
	(handle_using_decl): Pass the using decl to add_method.
	(clone_function_decl): Adjust add_member calls.
	* decl2.c (check_classfn): Likewise.
	* method.c (lazily_declare_fn): Likewise.
	* semantics.c (finish_member_declaration): Likewise.

	* method.c (synthesize_method): Use inform, not warning.
testsuite:
	PR c++/20637
	* g++.dg/inherit/using4.C: New.
	* g++.dg/overload/error1.C: Adjust expected errors.
	* g++.old-deja/g++.benjamin/warn02.C: Likewise.
	* g++.old-deja/g++.brendan/arm2.C: Likewise.
	* g++.old-deja/g++.other/redecl2.C: Likewise.
	* g++.old-deja/g++.other/redecl4.C: Likewise.
	* g++.old-deja/g++.pt/memtemp78.C: Likewise.

From-SVN: r100664
2005-06-06 14:18:22 +00:00
boehm-gc
config
contrib btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*". 2005-06-06 05:59:07 +00:00
fastjar
fixincludes
gcc re PR c++/20637 (Confusing message with different using declarations) 2005-06-06 14:18:22 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libffi
libgfortran
libiberty
libjava natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug. 2005-06-06 06:17:28 +00:00
libmudflap
libobjc
libstdc++-v3 stl_function.h: ... 2005-06-06 10:00:34 +00:00
maintainer-scripts
zlib
.cvsignore
ABOUT-NLS
ChangeLog configure.in: Fix typo in handling of --with-mpfr-dir. 2005-06-05 00:30:56 +02:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.in: Fix typo in handling of --with-mpfr-dir. 2005-06-05 00:30:56 +02:00
configure.in configure.in: Fix typo in handling of --with-mpfr-dir. 2005-06-05 00:30:56 +02:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS: Update my email address. 2005-06-04 06:23:19 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.