On 26.06.2012 23:27, Luca Falavigna wrote:

> Source: logkeys
> Version: 0.1.1a-3
> Severity: serious
> Justification: fails to build from source
> 
> 
> logkeys fails to build from source on mips*, but built in the past:
> 
> Making all in src
> make[3]: Entering directory 
> `/build/buildd-logkeys_0.1.1a-3-mipsel-Ee1BLZ/logkeys-0.1.1a/src'
> g++ -DHAVE_CONFIG_H -I. -I..     -Wall -O3 -DSYS_CONF_DIR=\"/etc\" -c -o 
> logkeys.o logkeys.cc
> In file included from logkeys.cc:60:0:
> upload.cc: In function 'void logkeys::start_remote_upload()':
> upload.cc:87:30: error: braces around scalar initializer for type 'unsigned 
> int'

Hi and sorry for a huge delay on this. Line upload.cc:87 is:

struct sigaction act = {{0}};

When I dropped extra {}, it compiled fine on mips, but on amd64 I get
the following warning:

upload.cc:87:28: warning: missing braces around initializer for
‘sigaction::<anonymous union>’ [-Wmissing-braces]

To me this this looks like an obvious gcc bug, either on mips or amd64.

Thanks,
Vedran


<<attachment: vedran_furac.vcf>>

Reply via email to