Aurelien Jarno wrote:
reassign 503202 gcc-4.3
thanks
Matthew Vernon a écrit :
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
This is actually a compiler problem. See the footnotes on
http://gcc.gnu.org/c99status.html . Reassigning the bug accordingly.
gcc on Mac OS X gets this right (the libc there defines
math_errhandling), which is why I suspected glibc to be the problem. I
infer from that, that glibc could fix this without needing changes to gcc?
Matthew
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]