[PATCH]: Don't define ctype is* and to* macro if C++
Alexandre Oliva
aoliva@redhat.com
Fri Jun 8 00:21:00 GMT 2001
On Jun 6, 2001, Danny Smith <danny_r_smith_2001@yahoo.co.nz> wrote:
> islapha, islower, etc are (overloaded) functions in std C++. Defining these
> functions as macros breaks C++ code that uses these functions.
They should probably be implemented as extern inline functions in
namespace std #ifdef __cplusplus, otherwise performance would be
severely degraded.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Newlib
mailing list