Your message dated Fri, 18 Dec 2015 19:02:12 +0100 with message-id <[email protected]> and subject line Re: libc6-dev: [sparc] fails to compile with bits/fenv.h and -pedantic-errors has caused the Debian Bug report #215923, regarding libc6-dev: [sparc] fails to compile with bits/fenv.h and -pedantic-errors 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 [email protected] immediately.) -- 215923: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=215923 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libc6-dev Version: 2.3.2-8 Severity: normal When building the attached testcase with "-pedantic-errors", I get the following error messages: In file included from /usr/include/fenv.h:58, from foo.c:1: /usr/include/bits/fenv.h:54: error: ISO C restricts enumerator values to range of `int' /usr/include/bits/fenv.h:58: error: ISO C restricts enumerator values to range of `int' This is because the Sparc FPU control word values which you have used are in an enum. The two values which are prohibited are (2<<30) and (3<<30), because these are of type unsigned int, and not int. Therefore, these should be moved out of the enum and directly into the preprocessor constants, which are of type intmax_t, which is 64 bits on all platforms that Debian supports. Alternatively, different values could be used which are of type int. 24f0eb46a133ce4651340fe5551df82b *foo.c -- System Information: Debian Release: testing/unstable Architecture: sparc Kernel: Linux ryan-graves 2.4.21 #1 Thu Aug 7 20:30:12 EDT 2003 sparc64 Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C) Versions of packages libc6-dev depends on: ii libc6 2.3.2-8 GNU C Library: Shared libraries an -- no debconf information#include <fenv.h> int main(void) { return 0; }
--- End Message ---
--- Begin Message ---Version: 2.17-1 On 2003-10-14 20:36, Brian M. Carlson wrote: > Package: libc6-dev > Version: 2.3.2-8 > Severity: normal > > When building the attached testcase with "-pedantic-errors", I get the > following error messages: > > In file included from /usr/include/fenv.h:58, > from foo.c:1: > /usr/include/bits/fenv.h:54: error: ISO C restricts enumerator values to > range of `int' > /usr/include/bits/fenv.h:58: error: ISO C restricts enumerator values to > range of `int' > > This is because the Sparc FPU control word values which you have used > are in an enum. The two values which are prohibited are (2<<30) and > (3<<30), because these are of type unsigned int, and not int. Therefore, > these should be moved out of the enum and directly into the preprocessor > constants, which are of type intmax_t, which is 64 bits on all > platforms that Debian supports. Alternatively, different values could be > used which are of type int. > > 24f0eb46a133ce4651340fe5551df82b *foo.c > This bug has been fixed upstream in glibc 2.17. Closing the bug accordingly. -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://www.aurel32.net
--- End Message ---

