Subject: Build failure with --enable-gcc-warnings
From: Stefano Lattarini <[email-masked]>
To: [email-masked]
Date: Sun, 01 Jul 2012 00:22:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Trying to build the latest coreutils from master:

  $ make all
  ...
    CC       stty.o
  stty.c: In function 'main':
  stty.c:740:8: error: variable 'speed_was_set' set but not used [-Werror=unused-but-set-variable]
  cc1: all warnings being treated as errors
  make[3]: *** [stty.o] Error 1

  $ uname -rmos
  Linux 3.3.1-3.fc16.ppc64 ppc64 GNU/Linux

  $ gcc --version
  gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
  Copyright (C) 2011 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Let me know if you need more information.

Regards,
  Stefano