I'm working on a program with a rather large kernel, about 400 lines of code, and when I try to compile it from source it doesn't always compile. To give some more technical background I'm working on Windows 7, on a ATI HD 5870, and I'm building my program using VS Express 10. Running from a binary works just fine if I can get it to compile correctly the first time but after making any changes to the kernel it can take one to several tries to get it to build the binary. The errors I get when it doesn't compile vary as well. About half the time I get a -11 build error with no build log. Alternatively I will get a memory allocation error "Unhandled exception at ...." Any insights into this would be greatly appreciated.