Fixed errors and warnings compile ::v7::