This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10784] Warning about choosing custom operator over copy constructor cannot be turned off (and it's useless in the first place)
- 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: 21 Jun 2003 17:40:03 -0000
- Subject: [Bug c++/10784] Warning about choosing custom operator over copy constructor cannot be turned off (and it's useless in the first place)
- References: <20030514161600.10784.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10784
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-06-21 17:40 -------
Subject: Bug 10784
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: gdr@gcc.gnu.org 2003-06-21 17:39:58
Modified files:
gcc/cp : ChangeLog call.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.benjamin: 16077.C
gcc/testsuite/g++.old-deja/g++.other: conv7.C overcnv2.C
overload14.C
Log message:
cp/
PR c++/10784
* call.c (joust): Warn about choosing conversion sequence only if
-Wconversion.
testsuite/
* g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option.
* g++.old-deja/g++.other/conv7.C: Likewise
* g++.old-deja/g++.other/overcnv2.C: Likewise.
* g++.old-deja/g++.other/overload14.C: Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3447&r2=1.3448
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.389&r2=1.390
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2790&r2=1.2791
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/conv7.C.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/overload14.C.diff?cvsroot=gcc&r1=1.3&r2=1.4