Revert "no need to disable specific warning now"

This reverts commit f3819c0c0cb005d7aa1183b666b327fa13c5f610.
It's still needed for newer version of gcc.