This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: 26_numerics/c99_classification_macros_c.cc
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Jim Wilson <wilson at tuliptree dot org>
- Cc: Zack Weinberg <zack at codesourcery dot com>, libstdc++ at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: 14 Jun 2003 23:42:45 +0200
- Subject: Re: 26_numerics/c99_classification_macros_c.cc
- Organization: Integrable Solutions
- References: <87vfv93j3p.fsf@egil.codesourcery.com><3EEB8CE9.5040804@tuliptree.org>
Jim Wilson <wilson@tuliptree.org> writes:
[...]
| Unforutately, it is lacking details about exactly why the change was
| made, but we can guess that we were getting cascading errors, and thus
| a single dg-error line was not sufficient. We would get cascading
| errors if fpclassify was defined as a macro in math.h, and indeed it
| is on my system. I offer no opinion on whether math.h or libstdc++ is
| wrong. I haven't bothered to check any standards.
Actually it is libstdc++ which is wrong [some may say it is the
standard which is wrong :-)]. We are supposed to do our outmost to
provide a <math.h> that is clean. That is only possible if we control
the C version of <math.h>, something we don't on non glibc systems.
As I understood it, Benjamin worked with Ulrich to put better support
in glibc-2.3.
-- Gaby