GCC 4.0.1 RC2

Geoff Keating geoffk@geoffk.org
Sun Jun 19 22:52:00 GMT 2005


On 19/06/2005, at 3:45 PM, Gabriel Dos Reis wrote:

> Geoffrey Keating <geoffk@geoffk.org> writes:
>
> | libstdc++-v3/testsuite/26_numerics/cmath/ 
> c99_classification_macros_c.cc
> |
> | appears to fail, with lots of complaints like
> |
> | c99_classification_macros_c.cc:49:21: error: macro  
> "isgreaterequal" requires 2 arguments, but only 1 given
> |
> | but the actual file did this with previous versions too, I think
> | something changed in the test harness.  As far as I can tell, this
> | testcase is in fact invalid and should produce exactly this error
> | message.
>
> Why?
>
> (I only thing I see wrong, right now is that the function definitions
> should be part of a class, instead of being at the global scope).

The testcase includes math.h, which we've said should supply the C99  
functions (or, in this case, macros) even in C++ mode.  C99 says that  
'isgreaterequal' is a macro which takes 2 arguments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050619/5f792e3a/attachment.p7s>


More information about the Gcc mailing list