From: Richard Levitte Date: Tue, 12 May 2020 07:54:04 +0000 (+0200) Subject: .travis.yml: never use -Werror, use --strict-warnings instead X-Git-Tag: openssl-3.0.0-alpha2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=16e3588d98b313701a55ab1337b1d30ba7b08872;p=oweals%2Fopenssl.git .travis.yml: never use -Werror, use --strict-warnings instead There are a few things in the OpenSSL code that are known to give warnings that we know are harmless. We test our builds accordingly. Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/11710) --- diff --git a/.travis.yml b/.travis.yml index 2bc040fe28..0ac0eb5bf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ compiler: env: # Note: env entry here must exactly match the value in the exclude: table below that contains env:, otherwise it will not find a match. - CONFIG_OPTS="" DESTDIR="_install" - - CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" + - CONFIG_OPTS="no-asm --debug --strict-warnings no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" - CONFIG_OPTS="no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE" BUILDONLY="yes" CHECKDOCS="yes" CPPFLAGS="-ansi" jobs: @@ -45,7 +45,7 @@ jobs: - os: osx compiler: gcc - os: osx - env: CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" + env: CONFIG_OPTS="no-asm --debug --strict-warnings no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" include: - os: linux arch: arm64