bug 846619 - add some static checking for use of _INHERITED cc class macros r=smaug