X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "'Raf256' Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: ustable gcc 3.02 ?! Date: 29 Jan 2002 06:55:51 GMT Organization: aa Lines: 44 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 1012287351 21840 62.179.25.129 (29 Jan 2002 06:55:51 GMT) X-Complaints-To: abuse AT onet DOT pl NNTP-Posting-Date: 29 Jan 2002 06:55:51 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 Hi, i'm not shure but... many programs that work perfectly before had started acting realy wired after installing : 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 The most strane gerror yet : Crt.ClrScr(); this function caused SVGA screen to bllink (like big black rectangle was drawn over screen, blinking was because this function is calling in loop that draws every animation frame). So I removed all code od cCrt to get : void cCrt::ClrScr() { } and screen was still blinkgin. But after removing line Crt.ClrScr(); // that was in fact doing NOTHING everything was ok. The code is quite simple, i'm shure that ther are no problems witn i.e. duplicated variables, etc. In code ther was only one call to Crt.ClrScr; This is second situaction that code that was in fact NEVER used was causing erorrs in program. Another example was line : if (0) { ..... } program crashed at exit with this line, and did not after removing it... STRANGE :-/ I must check this exacly, but some errors realy looked like compilator/linker/etc fault... BTW. in some situactions gcc acted randomly - on same code, sometimes it crashed (!) during compilation, sometime everyting is ok... -- Raf256 ,--, _ ,- _ _ _ |,-'`_|_|_ `_||_'|_' raf256 AT wp DOT pl GG-1175498 ICQ-143712878 | `\|_| | |_,,_||_| C++; (_2b||!_2b)?this->is->a:question; {B.Stroustrup, W.Shakespeare}