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

Bug#516992: marked as done (libc6-dev: [mips] Compile error/warning in bits/siginfo.h with -pedantic)



Your message dated Fri, 8 Dec 2017 20:20:44 +0100
with message-id <20171208192044.GA3421@aurel32.net>
and subject line Re: Bug#516992: libc6-dev: [mips] Compile error/warning in bits/siginfo.h with -pedantic
has caused the Debian Bug report #516992,
regarding libc6-dev: [mips] Compile error/warning in bits/siginfo.h with -pedantic
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
516992: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516992
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-dev
Version: 2.7-18
Severity: minor

Under mips, if the file /usr/include/bits/siginfo.h is included into a
compilation, (for example by including signal.h), and -pedantic is enabled,
a warning/error is generated.

(sid) bradsmith@mahler:~$ gcc foo.c -pedantic-errors
In file included from /usr/include/signal.h:212,
                 from foo.c:1:
/usr/include/bits/siginfo.h:59: error: ISO C forbids zero-size array ‘__pad0’

Something as simple as the following is sufficient to reproduce this:

#include <signal.h>

int main()
{
	return 0;
}

Regards,
Bradley Smith

-- 
Bradley Smith                                     brad@brad-smith.co.uk
Debian GNU/Linux Developer                         bradsmith@debian.org
GPG: 0xC718D347       D201 7274 2FE1 A92A C45C EFAB 8F70 629A C718 D347

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 2.26-0experimental0

On 2009-02-24 22:30, Bradley Smith wrote:
> Package: libc6-dev
> Version: 2.7-18
> Severity: minor
> 
> Under mips, if the file /usr/include/bits/siginfo.h is included into a
> compilation, (for example by including signal.h), and -pedantic is enabled,
> a warning/error is generated.
> 
> (sid) bradsmith@mahler:~$ gcc foo.c -pedantic-errors
> In file included from /usr/include/signal.h:212,
>                  from foo.c:1:
> /usr/include/bits/siginfo.h:59: error: ISO C forbids zero-size array ‘__pad0’

The zero-size array has been removed starting with glibc 2.26. The
padding is now conditional on __WORDSIZE == 64. I am therefore marking
this bug as closed in the corresponding Debian version (which is still
in experimental).

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: