From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44921 invoked by alias); 27 Aug 2015 22:57:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 44908 invoked by uid 89); 27 Aug 2015 22:57:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.7 required=5.0 tests=AWL,BAYES_50,KAM_COUK,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: out.ipsmtp4nec.opaltelecom.net Received: from out.ipsmtp4nec.opaltelecom.net (HELO out.ipsmtp4nec.opaltelecom.net) (62.24.202.76) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 27 Aug 2015 22:57:55 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2C2AQC0lN9V/9430lUNUa5bAQEBBpkUglMDAgKBeRABAQEBAQEBhS0BAQEDASNVBgsLGAICBRYLAgIJAwIBAgFFEwgBAYgUAQ2wX3GGWIgoCIVsAQEBBwEBAQEegSKFBYU6hRIXglKBQwWVPYVthwaBSpUsg2uCMgMcgVWDPQEBAQ X-IPAS-Result: A2C2AQC0lN9V/9430lUNUa5bAQEBBpkUglMDAgKBeRABAQEBAQEBhS0BAQEDASNVBgsLGAICBRYLAgIJAwIBAgFFEwgBAYgUAQ2wX3GGWIgoCIVsAQEBBwEBAQEegSKFBYU6hRIXglKBQwWVPYVthwaBSpUsg2uCMgMcgVWDPQEBAQ Received: from 85-210-55-222.dynamic.dsl.as9105.com (HELO [192.168.15.105]) ([85.210.55.222]) by out.ipsmtp4nec.opaltelecom.net with ESMTP; 27 Aug 2015 23:57:51 +0100 Subject: Re: Updated [test]: coreutils-8.24-2 To: cygwin@cygwin.com References: <001c01d0e04c$d8ebc210$8ac34630$@bonhard.uklinux.net> <000001d0e051$965f38a0$c31da9e0$@bonhard.uklinux.net> <55DE4B8B.6000401@redhat.com> <55DF6961.9040804@dwalin.fsnet.co.uk> <55DF7265.8050607@lysator.liu.se> Reply-To: cygwin@cygwin.com From: Sam Edge X-Enigmail-Draft-Status: N1110 Message-ID: <55DF95F1.5080007@dwalin.fsnet.co.uk> Date: Fri, 28 Aug 2015 00:53:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00503.txt.bz2 On 27/08/2015 21:33, Helmut Karlowski wrote: > Did you mean: "The compiler-warning would inform you that the value is > not set in a code-path"? I'd agree if I was always in the position of starting projects from scratch. All compiler warnings should be errors and disabling a compiler warning has to have a valid justification during review, yes. But try it with an existing code base. That's when you need deterministic behaviour from your modifications with minimal disturbance to anything else. > That's why I usually try to avoid initializing auto-variables (and > maybe save some bytes). If you can afford the tech debt recovery time to change your compiler warnings to errors or sift through the build output - and prove to your QA/RA that you don't have to re-certify the product. But you're unlikely to save any bytes using a modern compiler. Anyway, we're off-topic so adieu. -- Sam Edge -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple