unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Douglas Mencken <dougmencken@gmail.com>
To: bug-guile@gnu.org
Subject: guile build problem with gcc 4.6.0
Date: Sat, 12 Mar 2011 16:49:13 +0100	[thread overview]
Message-ID: <AANLkTi=_Bic62AArTRZZWHpvYW6BBoD3viUMwG53ad0L@mail.gmail.com> (raw)

GC 4.6.0 introduced new warning: unused-but-set-variable, so with
-Werror it's now impossible to build guile.

/bin/bash ../libtool  --tag=CC   --mode=compile
powerpc-gnu-linux-uclibc-gcc -DHAVE_CONFIG_H   -I.. -I.. -I..
-pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT
libguile_la-async.lo -MD -MP -MF .deps/libguile_la-async.Tpo -c -o
libguile_la-async.lo `test -f 'async.c' || echo './'`async.c
libtool: compile:  powerpc-gnu-linux-uclibc-gcc -DHAVE_CONFIG_H -I..
-I.. -I.. -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT
libguile_la-async.lo -MD -MP -MF .deps/libguile_la-async.Tpo -c
async.c  -fPIC -DPIC -o .libs/libguile_la-async.o
async.c: In function 'scm_i_queue_async_cell':
async.c:243:14: error: variable 'count' set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[3]: *** [libguile_la-async.lo] Error 1



             reply	other threads:[~2011-03-12 15:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 15:49 Douglas Mencken [this message]
2011-03-13 19:26 ` guile build problem with gcc 4.6.0 Andy Wingo
2011-03-14 16:51   ` Douglas Mencken
2011-03-17 10:46     ` Andy Wingo
2011-03-17 16:58       ` Ludovic Courtès
2011-03-20 19:11         ` Douglas Mencken
2011-03-20 20:13           ` Andy Wingo

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to='AANLkTi=_Bic62AArTRZZWHpvYW6BBoD3viUMwG53ad0L@mail.gmail.com' \
    --to=dougmencken@gmail.com \
    --cc=bug-guile@gnu.org \
    /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).