add -Wnon-virtual-dtor and -Wsign-compare