Remove waring at compile time.

Remove waring at compile time.