This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0.1 RC2



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.


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]