OpenWatcom 1.7a RC1 released (Announce)
> OK. What bug?
IIRC it started in the OW C/C++ newsgroup with thread
OW 1.7 Bug (may be major):
#define TYPEFLAG(f, t) (((f)&(0xFFFF0001))==(t))
The disassembly shows it doing
and eax,0x00000001
instead of
and eax,0xFFFF0001
0FC7 8B 44 24 10 mov eax,dword ptr 0x10[esp]
0FCB 25 01 00 00 00 and eax,0x00000001
if (TYPEFLAG(flags, 0x00010001)) {
.. whatever..
}
IIRC it was introduced by Bart Oldeman doing an adjustment for the 16-bit code generator.
---
MS-DOS forever!
Complete thread:
- OpenWatcom 1.7a RC1 released - Rugxulo, 08.10.2007, 20:55 (Announce)
- OpenWatcom 1.7a RC1 released - lucho, 09.10.2007, 08:00
- OpenWatcom 1.7a RC1 released - Steve, 09.10.2007, 09:00
- OpenWatcom 1.7a RC1 released - Japheth, 09.10.2007, 10:46
- OpenWatcom 1.7a RC1 released - Steve, 09.10.2007, 09:00
- OpenWatcom 1.7a RC1 released - lucho, 09.10.2007, 08:00