Mail Archives: djgpp-workers/2003/10/26/15:00:52
Hello.
Eli Zaretskii wrote:
[snip]
> If isnan is supposed to be a function as well as a macro (not unlike
> the ctype macros) and is described like that by some standard, then we
> will need this trick anyway.
Another thing to think about is the C++ standard. It says that anything that
can be implemented as a macro or function in the C standard should be
implemented as the macro for C++. From section 17.4.1.2 paragraph 5:
"Names which are defined as macros in C shall be defined as macros in the C++
Standard Library, even if C grants license for implementation as functions.
[Note: the names defined as macros in C include the following: assert, errno,
offsetof, setjmp, va_arg, va_end, and va_start. -end note]
I'm not sure how well we comply with that.
Bye, Rich
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
"You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek
- Raw text -