Improve diagnostic handling: Add [-Wfoo] and -Werror-foo.