bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#625355: guile-1.8: ftbfs with gcc-4.6 -Werror


From: Rob Browning
Subject: Re: Bug#625355: guile-1.8: ftbfs with gcc-4.6 -Werror
Date: Sun, 08 May 2011 11:49:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

(If possible, please preserve the 625355-forwarded address in any replies.)

It appears that guile won't build with the default flags with gcc 4.6,
given -Werror and some new 4.6 warnings.

You can see the warnings in the build log here:

  http://people.debian.org/~doko/tmp/werror/guile-1.8_1.8.8+1-2_lsid64.buildlog

The warnings look like this:

  async.c: In function 'scm_i_queue_async_cell':
  async.c:243:14: warning: variable 'count' set but not used 
[-Wunused-but-set-variable]

And they can be suppressed like this:

  -Wno-error=unused-but-set-variable and
  -Wno-error=unused-but-set-parameter

Though that will only work with newer versions of gcc.  Older versions
won't recognize the args and will reject them.

Here's the original report:

Matthias Klose <address@hidden> writes:

> Package: guile-1.8
> Version: 1.8.8+1-2
> Severity: important
> Tags: wheezy sid
> User: address@hidden
> Usertags: ftbfs-gcc-4.6 ftbfs-werror
>
> This package builds with -Werror, and GCC 4.6 triggers new warnings
> which will make the package fail to build.  Currently a Debian patch
> just passes
>     -Wno-error=unused-but-set-variable and
>     -Wno-error=unused-but-set-parameter
> to avoid build failures, but this patch will be reverted with the
> GCC 4.6.1 release, and the severity of the report will be raised.
>
> The full build log can be found at:
> http://people.debian.org/~doko/tmp/werror/guile-1.8_1.8.8+1-2_lsid64.buildlog
> The last lines of the build log are at the end of this report.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625355 for further
details.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]