clang warnings--

- (unsigned int < 0) == false!
- hidden virtual function
- unused vars
- deprecated header
- cmake code--