I put in a few other programs I wrote that worked and I re-built them tonight. After the rebuild, same problem. I'm thinking it's the compiler. Nothing in the coding changed.
Have you changed the compiler recently, may some Windows updates ?
If you have Visual Studio, try to create simple Hello World in VS and compile it.
Compare compiler flags.