September 19, 2003

sigh - sizeof(bool)

In our old version of gcc, the size of the bool type was apparently 4 bytes, but in gcc-3.2.3, it is 1 byte. As you can imagine, if you had previously written files using the old software, you might have a hard time reading it if you didn't know this! Arg. More about this can be found here. Adding three more reads to bool seems to make everything work fine. This means I should probably convert all my old files to new files...

Posted by torque at September 19, 2003 2:22 PM | TrackBack
Post a comment

Remember personal info?