From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5878 invoked by alias); 17 Oct 2007 13:17:27 -0000 Received: (qmail 5867 invoked by uid 22791); 17 Oct 2007 13:17:27 -0000 X-Spam-Check-By: sourceware.org Received: from smtp116.sbc.mail.sp1.yahoo.com (HELO smtp116.sbc.mail.sp1.yahoo.com) (69.147.64.89) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 17 Oct 2007 13:17:25 +0000 Received: (qmail 39368 invoked from network); 17 Oct 2007 13:17:23 -0000 Received: from unknown (HELO ?68.122.12.184?) (timothyprince@sbcglobal.net@68.122.12.184 with plain) by smtp116.sbc.mail.sp1.yahoo.com with SMTP; 17 Oct 2007 13:17:22 -0000 X-YMail-OSG: jd0XIcEVM1mgNZW4aF_LlMK6M3UcLKW56vaXf26lF93cwZkDOz2Xy0o3N8SSk.GiHxBePnUhDQ-- Message-ID: <47160B5F.9080009@computer.org> Date: Wed, 17 Oct 2007 13:28:00 -0000 From: Tim Prince User-Agent: Thunderbird 2.0.0.4 (X11/20070613) MIME-Version: 1.0 To: "Humpolicek, Jiri - Acision" CC: gcc-help@gcc.gnu.org Subject: Re: gcc warnings References: <53248A54C3B3EC4EAAD993D10A6DD01203C5DAB7@cz-ex002.groupinfra.com> In-Reply-To: <53248A54C3B3EC4EAAD993D10A6DD01203C5DAB7@cz-ex002.groupinfra.com> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00214.txt.bz2 Humpolicek, Jiri - Acision wrote: > I have, from my point of view, strange problem. I want to tell gcc to report all compilation warnings, especially warnings about assigment from variable of greater type to variable with smaller type. For example, when I write following code and compile it with next command no warning is reported: > > c++ -o test test.cpp -Wall -Wextra -Wconversion -pedantic > You don't say anything about what problem you encounter, or what platform you use. Your source code doesn't look like a suitable replacement for a test command which may be implemented in your shell, so it would be simpler to choose a non-conflicting name.