if (fread(m_imageData, sizeof(unsigned long), header.width*header.height, myFile) != header.width*header.height) return FALSE;
If I turn optimizations off it works. If I turn them on it fails.
if (fread(m_imageData, sizeof(unsigned long), header.width*header.height, myFile) != header.width*header.height) return FALSE;
Quote:Original post by Skoobydoo
Release build means that Debug information is removed. You can experiment with the different levels of debug types. But this is the point of having a release build is that the code gets smaller and faster with a release build.
I have run into release issues in the past, and to fight this I have a target platform that is called "Near-Release" which has some basic debugging information in it.