Not this this will help you, but we just put this kind of checking into our (ANSI aspiring) compiler. I'm sure there are many other vendors who will be doing (or have done) this, since your's is a common complaint. Maybe you can bash on the gcc people for it... David Tanguay