delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/27/18:58:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=cU0wrsp/ajGTMxXS
1bzjs9C0VrHvHvqCj1mYBYWZ5RuZfDiQtOmf/o2zjXEjYZcdHeCVozmC6OLPdR8d
BeYQKdQAc8t9gS5wjScUuanzmKaXhNQ41i4ScGextqH07jJO+bXzxHA+Kta2pmIs
tykhw6I0K+0+rBP/EWjqNbMJk8E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=QiDpD3/egq+wVO3dp5lgzH
P72lk=; b=l9efsmDDLduP0Q2bAf4L51SfHbmSQj46bgpObQ2nYDAFilu4BF8qKp
KLPS4fMno93eGhHRDiybkWbyc5mmxe7VkiTT2XyvW1urqzwepQxijYiUdNMkCl4S
U33LBN0t/FXNy4lx9EdoYUEBP8Zba6UvP1EkfdUtM+8CZD8u+kjX8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2C2AQC0lN9V/9430lUNUa5bAQEBBpkUglMDAgKBeRABAQEBAQEBhS0BAQEDASNVBgsLGAICBRYLAgIJAwIBAgFFEwgBAYgUAQ2wX3GGWIgoCIVsAQEBBwEBAQEegSKFBYU6hRIXglKBQwWVPYVthwaBSpUsg2uCMgMcgVWDPQEBAQ
X-IPAS-Result: A2C2AQC0lN9V/9430lUNUa5bAQEBBpkUglMDAgKBeRABAQEBAQEBhS0BAQEDASNVBgsLGAICBRYLAgIJAwIBAgFFEwgBAYgUAQ2wX3GGWIgoCIVsAQEBBwEBAQEegSKFBYU6hRIXglKBQwWVPYVthwaBSpUsg2uCMgMcgVWDPQEBAQ
Subject: Re: Updated [test]: coreutils-8.24-2
To: cygwin AT cygwin DOT com
References: <001c01d0e04c$d8ebc210$8ac34630$@bonhard.uklinux.net> <000001d0e051$965f38a0$c31da9e0$@bonhard.uklinux.net> <55DE4B8B DOT 6000401 AT redhat DOT com> <55DF6961 DOT 9040804 AT dwalin DOT fsnet DOT co DOT uk> <55DF7265 DOT 8050607 AT lysator DOT liu DOT se> <op DOT x31nexczofd6j1 AT nebbiolo DOT upc DOT de>
Reply-To: cygwin AT cygwin DOT com
From: Sam Edge <cygwin AT dwalin DOT fsnet DOT co DOT uk>
X-Enigmail-Draft-Status: N1110
Message-ID: <55DF95F1.5080007@dwalin.fsnet.co.uk>
Date: Thu, 27 Aug 2015 23:57:53 +0100
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: <op.x31nexczofd6j1@nebbiolo.upc.de>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019