|
From: | Seb |
Subject: | bug report |
Date: | Fri, 30 Jan 2004 06:22:27 +0100 |
hi,
I'm a french student and I discovered two bugs
while compiling with de GPP compiler:
- the 'delay()' function (dos.h) bug
in my "fade_in" function while it is correct in another text-mode
program.
- I had a bad result doing this:
unsigned long offset = 640 * y +
x; -->
ok
unsigned long offset = y << 9 + y
<< 7 + x; --> bad
result
I had to put up with:
unsigned long offset = y <<
9;
offset += y << 7;
offset +=
x;
--> ok
"gcc --version" returns:
gcc.exe (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Thank you. (hope for my english is not too bad
;)
|
[Prev in Thread] | Current Thread | [Next in Thread] |