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]

Re: Builtins in `std'


>>>>> "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


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