From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Resetting IOS Flags Date: 27 Aug 2003 11:25:58 GMT Organization: Aachen University of Technology (RWTH) Lines: 11 Message-ID: References: <20030826164654 DOT 10744 DOT 00000543 AT mb-m14 DOT aol DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1061983558 15749 137.226.32.75 (27 Aug 2003 11:25:58 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 27 Aug 2003 11:25:58 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com MMarkHinchcliffe wrote: > I've tried unsigned long, int & unsigned int already. 'setf' is supposed to > return a type long value so I can't see why the compiler should complain. The actual error message is not about the return value, but rather about passing your saved status back in as argument number one. Odds are you'll have to use some special type defined for this by the classes. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.