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: Zack Weinberg <zack at codesourcery dot com>
- Cc: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>, libstdc++ at gcc dot gnu dot org
- Date: 14 Jun 2003 01:16:21 +0200
- Subject: Re: 26_numerics/c99_classification_macros_c.cc
- Organization: Integrable Solutions
- References: <200306132229.h5DMTx5U027027@latour.rsch.comm.mot.com><87r85xioqd.fsf@egil.codesourcery.com>
Zack Weinberg <zack@codesourcery.com> writes:
[...]
| Why is the test failing in the first place? I confess I don't
| understand what it is trying to test.
C99 introduced bunch of functional macros that should not exist in
C++ headers -- i.e. fpclassify and all that.
The thing is that depending on the C library something like
#include <cmath>
will drag in those macros. The test should fail if they exist.
-- Gaby