Brent Dax <[EMAIL PROTECTED]> writes:

> Ouch.  They actually expect you to be able to do anything useful without
> the other headers?

> It might actually be easier to just implement the headers ourselves on
> platforms that don't have them...

The provisions for free-standing implementations in the C standard are
primarily aimed at people using C as portable assembler for writing
embedded applications.  Viewed in that light, it makes sense that your
microwave may not have stdio.  :)  The idea is to define a subset of C
that can still be called C that doesn't include all of the extra stuff
that's unnecessary when all you're ever doing is reading and writing bytes
from special memory locations.

I think it's a real mistake for Microsoft to not provide a hosted
implementation for something like WinCE.  But that's just random
complaining; unfortunately, one can't solve portability routines by
expressing one's opinion that the decisions various platforms made were
stupid.  :)

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to