-Werror,-Wdeprecated-declarations

Change-Id: I6b10ab0b3f11559f515084b45dc3771627223418