Hi!
13-Сен-2006 16:09 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[email protected]>:
BC>>> Fixed compilation completely with Turbo C
BC>>> +++ mcb.h 11 Sep 2006 00:07:22 -0000 1.7
BC>>> struct SUPPL_verify_alignment_MCB {
BC>>> - char x[sizeof(struct MCB) == 16 ? 1 : -1];
BC>>> + char x[ 1 ];
>> This is NOT fix, this is trying to mask BUG: if some compiler complain
>> here, then this mean, that alignment is broken...
te> this is indeed not a fix, but it doesn't mask the bug either
te> instead it makes sure that the MCB is still 16 byte, and protects
te> you/your users from using bad software
te> think of it as a compile time assert()
tom, read carefully - assert here _removed_ (replaced by dummy
declaration).
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel