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

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



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


Reply to: