Strip out -Wpedantic unless told not to.