X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: ctype custom table lookup in C++ Date: 20 May 2005 18:59:01 GMT Lines: 21 Message-ID: <3f6qblF66fi1U2@news.dfncis.de> References: <1116546092 DOT 867392 DOT 97940 AT g43g2000cwa DOT googlegroups DOT com> <3f5juoF5og3rU2 AT news DOT dfncis DOT de> <428DEE0A DOT 8A72F76F AT yahoo DOT com> X-Trace: news.dfncis.de 5Uhli9GfNSbLMj0cOnMBdwzs2XEj6XBD3MH7DRi0zZxXixRuxnpu80v0sM X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com CBFalconer wrote: > Hans-Bernhard Broeker wrote: [...] > > Only if you misunderstand how that table is supposed to be > > constructed, in the case of DJGPP. The C++ standard seems to > > have forgotten about the C specialty of passing EOF into a > > library macro/function. > Bear in mind that that uses the hidden assumption that EOF == -1. I don't think I have to. The problem, if any, is that the snippet from the C++ standard quoted by the OP makes _any_ assumptions at all, about how the C library might handle EOF, or how it might be implemented. Either the C++ committee has gone nuts, or the OP didn't understand the context of the snippet he quoted. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.