X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "'Raf256' Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: local ifstream Date: 22 Jan 2002 15:45:35 GMT Organization: aa Lines: 32 Sender: raf256 AT poczta DOT onet DOT pl@chello062179025129.chello.pl Message-ID: NNTP-Posting-Host: chello062179025129.chello.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.onet.pl 1011714335 22504 62.179.25.129 (22 Jan 2002 15:45:35 GMT) X-Complaints-To: abuse AT onet DOT pl NNTP-Posting-Date: 22 Jan 2002 15:45:35 GMT User-Agent: Xnews/4.11.09 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com imho quite strange error : /* function */ { if (echo) cout< mCmd, mArg if (0) { ifstream plik; } } gives error (255, Acces vilation) after exit, removing line ifstream plik (with is never used) repairs this error. All other code in program is OK. i'm using : Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.02/specs Configured with: ../configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR - -disab le-nls Thread model: single gcc version 3.0.2 -- Raf256 ,--, _ ,- _ _ _ |,-'`_|_|_ `_||_'|_' raf256 AT wp DOT pl GG-1175498 ICQ-143712878 | `\|_| | |_,,_||_| C++; (_2b||!_2b)?this->is->a:question; {B.Stroustrup, W.Shakespeare}