From Walt Karas · 1996-04-06 14:28 · #73569 in EMULATE
SP>Borland 5 has a bug with Anonymous structs-- putting an anonymous struct
SP>inside a union causes the struct to be erroneously treated as a union as
SP>well. Even without being in a union, bit-fields inside an anonymous struct
SP>are not honored.
MS-C/C++ 7.0 also has its bugs. It will often not compile inline
functions correctly. Perhaps most people don't encounter this
problem, because the default compiler options compile all functions
out-of-line, even those explicitly declared to be inline. When
I encountered this bug (a couple of years ago), MS Tech Support told
me the same problem existed with Visual C++.
MS-C 6.0 seems to also have problems with bit fields. The only
work around I could find was to disable optimization. Also, an
if statement as the only statement in a for/while loop will not
always compile properly. (The work-around is to use a redundant
pair of braces around the if statement.)
The only problem I found with Borland (3.0) was that the VROOM linker
feature (for overlaying DOS programs) only seemed to work for straight C
code, not for C++.
I've never used a compiler that didn't have it's bugs.
---
þ SLMR 2.1a þ
--- Simplex BBS (v1.07.00Beta [DOS])
* Origin: To hell with the prime directive, FIRE! (1:151/117)