Mail Archives: djgpp/2002/01/29/02:01:43
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
From: | "'Raf256' Rafal Maj" <raf256 AT szybkapoczta DOT pl>
|
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: | <Xns91A5517E21E4Brfdfciasdsdj412tr@213.180.128.20>
|
NNTP-Posting-Host: | chello062179025129.chello.pl
|
Mime-Version: | 1.0
|
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}
- Raw text -