File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -91,14 +91,14 @@ matrix:
9191 # GCC for the x86-64 architecture with restricted limb sizes
9292 # formerly started with the option "--with-low-mp" to testme.sh
9393 # but testing all three in one run took to long and timed out.
94- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_8BIT --with-valgrind'
95- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_16BIT --with-valgrind'
96- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_32BIT --with-valgrind'
94+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_8BIT --with-valgrind'
95+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_16BIT --with-valgrind'
96+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_32BIT --with-valgrind'
9797
9898 # clang for the x86-64 architecture with restricted limb sizes
99- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_8BIT --with-valgrind'
100- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_16BIT --with-valgrind'
101- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_32BIT --with-valgrind'
99+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang --cflags=-DMP_8BIT --with-valgrind'
100+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang --cflags=-DMP_16BIT --with-valgrind'
101+ - env : NO_CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang --cflags=-DMP_32BIT --with-valgrind'
102102
103103 # GCC for the x86-64 architecture testing against a different Bigint-implementation
104104 # with 333333 different inputs.
Original file line number Diff line number Diff line change @@ -51,9 +51,13 @@ CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow
5151
5252ifndef NO_ADDTL_WARNINGS
5353# additional warnings
54- # CFLAGS += -Wsystem-headers
5554CFLAGS += -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align
5655CFLAGS += -Wstrict-prototypes -Wpointer-arith
56+ endif
57+
58+ ifdef NO_CONV_WARNINGS
59+ CFLAGS += -Wsystem-headers
60+ else
5761CFLAGS += -Wconversion -Wsign-conversion
5862endif
5963
You can’t perform that action at this time.
0 commit comments