From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27456 invoked by alias); 16 Sep 2006 21:14:40 -0000 Received: (qmail 27397 invoked by uid 48); 16 Sep 2006 21:14:31 -0000 Date: Sat, 16 Sep 2006 21:14:00 -0000 Message-ID: <20060916211431.27396.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/26698] g++ accepts const-incorrect code due to conversion function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "lopezibanez at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg01574.txt.bz2 List-Id: ------- Comment #4 from lopezibanez at gmail dot com 2006-09-16 21:14 ------- The change was made on revision 110567 on gcc/cp/decl.c @@ -9012,7 +9011,7 @@ } if (what) - warning (0, "conversion to %s%s will never use a type " + warning (OPT_Wconversion, "conversion to %s%s will never use a type " "conversion operator", ref ? "a reference to " : "", what); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26698