From: Daniel Schwierzeck Date: Thu, 25 Jan 2018 18:21:23 +0100 Subject: [U-Boot] [PATCH 0/4] Add support for treating compiler warnings as errors Message-ID: <20180125172127.17825-1-daniel.schwierzeck@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de To enforce a zero-warnings policy (e.g. in CI builds), all compiler warnings have to be treated as errors. Extend Kbuild and buildman with according options to achieve this. Enable these new options in all Travis CI builds. All builds with compiler warnings will now fail. Only DTC warnings are still being ignored. Example build which failed due to a compiler warning: https://travis-ci.org/danielschwierzeck/u-boot/jobs/333349371#L936 Daniel Schwierzeck (4): Kbuild: support W=[N,]err for passing '-Werror' to the compiler buildman: add option -E for treating compiler warnings as errors travis.yml: fix 'set +e' in build script travis.yml: run buildman with option -E .travis.yml | 5 ++--- scripts/Makefile.extrawarn | 3 +++ tools/buildman/builder.py | 5 ++++- tools/buildman/builderthread.py | 2 ++ tools/buildman/cmdline.py | 2 ++ tools/buildman/control.py | 3 ++- 6 files changed, 15 insertions(+), 5 deletions(-) -- 2.16.1