Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment MSVC++ for WinCE bug (Score 1) 1261

Real, subtle nasty one. We had an internal data representation that use large numbers of 7-byte structs. So sometimes you copy them with

s1=s2;
Well, the compiler drops in the code to copy 8 bytes! This manifested itself as occasional corruption of data. We ended up changing the structures to classes, and giving them copy constructors and assignment operators that did member copies.

Warning! As far as I know, this bug still exists!

Slashdot Top Deals

Type louder, please.

Working...