manywarnings: update the list of "all" warnings
authorJim Meyering <meyering@redhat.com>
Wed, 30 Nov 2011 13:25:35 +0000 (14:25 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 2 Sep 2012 09:01:32 +0000 (11:01 +0200)
commitdd44da552f3f158a55b04fbe11ef1d0faf5ee5ba
tree832d356e844df814315105808496186eac9f632f
parent1af55d85d9762a679b4302d5995f05ccd883e956
manywarnings: update the list of "all" warnings

* m4/manywarnings.m4: Unite lists, and add many new options.
* build-aux/gcc-warning: New file.

Run this command with the latest gcc to see if they have added
options not yet on our list:

gl=.; comm -1 -3 \
  <(sed -n 's/^  *\(-[^ ]*\) .*/\1/p' $gl/m4/manywarnings.m4 |sort) \
  <(gcc --help=warnings|sed -n 's/^  \(-[^ ]*\) .*/\1/p' |sort \
    |grep -v --line-regexp -f <(cut -f1 $gl/build-aux/gcc-warning.spec))
build-aux/gcc-warning.spec [new file with mode: 0644]
m4/manywarnings.m4