<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] warning cleared



On 2005-09-22 09:50:22 -0500, David Champion wrote:

> No, you don't, because strtoul() doesn't exist, so no header file
> defines its interface.  Including a header doesn't make a symbol
> available at link time.  (At link time, it's either there or it
> isn't.) It just helps the compiler check grammar, and the grammer
> checked fine.

Except when you're actually dealing with a macro.

> I'll take Thomas Dickey's word that strtol() is reliably present -- I
> wasn't sure how broadly-implemented it is, having seen strtoul() missing
> so often.  Every platform I've used has strtol(), as far as I recall,
> but I haven't seen everything.  So Vincent, if you want to submit a
> patch to use strtol(), I won't argue it.

so be it.
-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.