That assumption, right there, is really not a safe one. No offense, but even the best designed code with zero warnings vs. -Wall is still going to run into unforeseen logic errors...and the more complex the code, the larger the code base, the higher those odds. I doubt that your code is all so trivial as an empty main function.absolutely! assuming i could find them.
So if you were the programmer of Ocarina of Time you would have fixed all these bugs before the game shipped?
(But, if you really do have a full proof way...you're in the wrong line of work. Software Hardening and Static/Dynamic Taint Analysis are both very vibrant fields of research; they could use you. Not to mention how every single other software package in the wild right now experiences bugs for the first several years of their life time in consumer hands.)
Edited by thade, 10 April 2014 - 02:21 PM.