Make TEnum derive from TDictionary and AST check optimazation for IsValid. (ROOT-5702).
fBuf always evals to true.
Silence warnings issued by Qt

/usr/include/qt4/QtCore/qsharedpointer_impl.h:435:17: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
                register int tmp = o->strongref;
                ^~~~~~~~~
/usr/include/qt4/QtCore/qsharedpointer_impl.h:595:43: error: field 'd' is uninitialized when used here [-Werror,-Wuninitialized]
    inline QWeakPointer(X *ptr) : d(ptr ? d->getAndRef(ptr) : 0), value(ptr)
Silence "declaration shadows a variable in namespace std".