Builtins in `std'
Mark Mitchell
mark@codesourcery.com
Wed May 23 11:56:00 GMT 2001
>>>>> "Fergus" == Fergus Henderson <fjh@cs.mu.oz.au> writes:
Fergus> There is no standard function named `::strchr', but
Fergus> nevertheless `::strchr' is reserved. This means that
Fergus> implementations are free to allow user programs like that,
Fergus> but are not required to do so.
OK.
Do you think `static char *strchr (const char*, int) {...}' is OK?
This is orthogonal to the main thrust of my argument (namely, that we
are broken, and that there are easy fixes), but I am happy to be
educated!
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list