Bug#503202: libc6-dev: math_errhandling isn't defined anywhere
Package: libc6-dev
Version: 2.3.6.ds1-13etch7
Severity: important
Hi,
math.h has the following in it:
/* Bitmasks for the math_errhandling macro. */
# define MATH_ERRNO 1 /* errno set by math functions. */
# define MATH_ERREXCEPT 2 /* Exceptions raised by math functions.
*/
but no-where is math_errhandling actually defined! This breaks code
wanting to check how domain errors in floating-point code are handled
(amongst other things). Section 7.12.9 of C99 discusses MATH_ERRNO,
MATH_ERREXCEPT, and math_errhandling.
SuSv3 also requires math_errhandling to be present:
http://www.opengroup.org/onlinepubs/009695399/basedefs/math.h.html
Regards,
Matthew
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-2-macpro-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages libc6-dev depends on:
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for developme
Versions of packages libc6-dev recommends:
ii gcc [c-compiler] 4:4.1.1-15 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.6-5 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.1-21 The GNU C compiler
-- no debconf information
Reply to: