summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-10 20:26:21 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-11 00:12:36 (GMT)
commit8209df24ea5bc1dcb560ac64cf2b4ff552f8c9ff (patch)
tree995a871f63ad3f8e17a4ac7023a36fea8abb8c2b /scripts
parent701daa5298b3befe2aff05ce590533165abb9ba4 (diff)
downloadjemalloc-8209df24ea5bc1dcb560ac64cf2b4ff552f8c9ff.zip
jemalloc-8209df24ea5bc1dcb560ac64cf2b4ff552f8c9ff.tar.gz
jemalloc-8209df24ea5bc1dcb560ac64cf2b4ff552f8c9ff.tar.bz2
Turn on -Werror for travis CI builds
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_travis.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_travis.py b/scripts/gen_travis.py
index 93fe328..35a10ee 100755
--- a/scripts/gen_travis.py
+++ b/scripts/gen_travis.py
@@ -72,7 +72,9 @@ for unusual_combination in unusual_combinations_to_test:
if os == 'osx' and '--enable-prof' in configure_flags:
continue
- env_string = '{} COMPILER_FLAGS="{}" CONFIGURE_FLAGS="{}"'.format(
+ # We get some spurious errors when -Warray-bounds is enabled.
+ env_string = ('{} COMPILER_FLAGS="{}" CONFIGURE_FLAGS="{}" '
+ 'EXTRA_CFLAGS="-Werror -Wno-array-bounds"').format(
compilers, " ".join(compiler_flags), " ".join(configure_flags))
include_rows += ' - os: %s\n' % os