From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9981 invoked by alias); 24 Jan 2009 06:00:17 -0000 Received: (qmail 9864 invoked by uid 48); 24 Jan 2009 06:00:08 -0000 Date: Sat, 24 Jan 2009 06:00:00 -0000 Message-ID: <20090124060008.9863.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/38055] key for compilation -Wconversion In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "lisp2d at lisp2d dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg02513.txt.bz2 ------- Comment #2 from lisp2d at lisp2d dot net 2009-01-24 06:00 ------- The niche is selected incorrectly. Basically the considerable quantity of errors of programming is linked to implicit type conversion. void insert(char*,char,unsigned int){..} insert(..,..,size_t); Example double d = 1.0; int i; i = d; correctly and necessary to write so: double d = 1.0; int i; i = (int)d; In the program text this obvious conversion will be visible. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38055