public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Sam Edge <cygwin@dwalin.fsnet.co.uk>
To: cygwin@cygwin.com
Subject: Re: Updated [test]: coreutils-8.24-2
Date: Fri, 28 Aug 2015 00:53:00 -0000	[thread overview]
Message-ID: <55DF95F1.5080007@dwalin.fsnet.co.uk> (raw)
In-Reply-To: <op.x31nexczofd6j1@nebbiolo.upc.de>


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

      reply	other threads:[~2015-08-27 22:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 22:50 Fergus
2015-08-26 23:28 ` Eric Blake
2015-08-26 23:28 ` Fergus
2015-08-26 23:50   ` Eric Blake
2015-08-27 20:26     ` Sam Edge
2015-08-27 20:51       ` Peter Rosin
2015-08-27 21:40         ` Helmut Karlowski
2015-08-28  0:53           ` Sam Edge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55DF95F1.5080007@dwalin.fsnet.co.uk \
    --to=cygwin@dwalin.fsnet.co.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).