You have attempted to make a widget a definition, but a descendant of this widget has static or global storage class.
Please modify the storage class of descendants accordingly.