Giving error on typedef and senum.