26_numerics/c99_classification_macros_c.cc

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Jun 13 23:18:00 GMT 2003


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



More information about the Libstdc++ mailing list