errors: add WERROR generation to build system
authorBob Campbell <bobcampbell@catalyst.net.nz>
Thu, 19 Jan 2017 23:24:53 +0000 (12:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 08:46:23 +0000 (09:46 +0100)
commitc6dcac954e783bb3f55a2d16eca2f43da42e1210
tree954660b45f763c2a837071f142f4183efdabf1dd
parentea49c56f4670e9bb3ceab3c2aba302236886161b
errors: add WERROR generation to build system

Parts of doserr.c and werror.h are now generated into werror_gen.c and
werror_gen.h, respectively. Also, py_werror.c is now generated.

Some errors were not included in the list which we now generate WERRORs
from. These errors have been manually included.

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
libcli/util/doserr.c
libcli/util/werror.h
libcli/util/wscript_build