Implemented setSelectIndex, setAttribute API
Change compiler warning level to w4