September 15th, 2011, 3:21 pm
So the question seems tricky. I access those values in two ways: one is via a DLL (imagine something like an XL interface), another by simply writing them as a text file when running the program as an exe.The QNANs are only in the text file, as if the filename << number was the problem. If I turn optim off then it works fine.My filename << number is nested in some sort of complicated loop/ if/ crap, so I'm afraid the compiler optimizes the stuff stupidly, shuffling the order of the << or something.Other ideas?