Debian Bug report logs - #215923
libc6-dev: [sparc] fails to compile with bits/fenv.h and -pedantic-errors

version graph

Package: libc6-dev; Maintainer for libc6-dev is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6-dev is src:eglibc.

Reported by: "brian m. carlson" <sandals@crustytoothpaste.net>

Date: Wed, 15 Oct 2003 14:03:03 UTC

Severity: minor

Found in version 2.3.2-8

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#215923; Package libc6-dev. Full text and rfc822 format available.

Acknowledgement sent to "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: [sparc] fails to compile with bits/fenv.h and -pedantic-errors
Date: Tue, 14 Oct 2003 20:36:54 +0000
[Message part 1 (text/plain, inline)]
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

[foo.c (text/plain, attachment)]

Severity set to `minor'. Request was from GOTO Masanori <gotom@debian.or.jp> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: sid Request was from "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. Full text and rfc822 format available.

Tags removed: sid Request was from Touko Korpela <tkorpela@phnet.fi> to control@bugs.debian.org. (Sat, 28 Jul 2007 16:48:06 GMT) Full text and rfc822 format available.

Changed Bug submitter to '"brian m. carlson" <sandals@crustytoothpaste.net>' from '"Brian M. Carlson" <sandals@crustytoothpaste.ath.cx>' Request was from "brian m. carlson" <sandals@crustytoothpaste.net> to control@bugs.debian.org. (Thu, 03 Feb 2011 20:51:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 11:27:07 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.