cc1plus: all warnings being treated as errors

After I change -Werror to --W in configure, everything are compiling fine.
There are a lot of warnings.