Ivan Gyurdiev ivg231@gmail.com writes:
I don't know about ugly, but the casts actually prevent warnings, instead of causing them... Is there a compiler flag that you use to cause warnings? If so, please let me know what it is, and I'll fix the code.
-Wcast-qual. That's what all the recent patches from Andrew Talbot are about, to make it possible to turn this on by default.