So I just this week upgraded my compiler from Builder 6 to Builder 2007, which was good, the old compiler was a few years old. The new one has lots of neat stuff to use, and I'm looking forward to it.
As a matter of course, I always turn on all compiler warnings and treat warnings as if they were errors that halted compilation. If I get a warning that I determine is something I want to be there on purpose, I'll turn off the warning for that section of code via a pragma directive, and turn it back on again afterword. A successful build for me always has 0 errors, 0 warnings. Anything else requires debugging.
Well, for a full build of MD, Builder 6 had no warnings (obviously, because I always fixed them as I got them). In Builder 2007, I now have 468 warningsClearly they changed something in the warning system. So I've got a bit of work ahead of me to clean those all up. About 90% of them are conversion warnings. Most likely I won't do them all at once, but a rather bit at a time as I run across them.
On a somewhat more serious note, the program no longer will exit cleanly, but instead crashes when you shut it down. That's a bug I'll have to fix before the next release.


Clearly they changed something in the warning system. So I've got a bit of work ahead of me to clean those all up. About 90% of them are conversion warnings. Most likely I won't do them all at once, but a rather bit at a time as I run across them.
Reply With Quote
