mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Merge branch 'wextra'
This commit is contained in:
commit
a3274de3b4
|
@ -53,7 +53,7 @@ AM_CONDITIONAL([HAVE_AVX2], [test x"$flag_avx2" = x"true"])
|
|||
AM_CONDITIONAL([HAVE_SSE4_1], [test x"$flag_sse4_1" = x"true"])
|
||||
AM_CONDITIONAL([HAVE_SSE2], [test x"$flag_sse2" = x"true"])
|
||||
|
||||
KVZ_CFLAGS="-Wall -Wtype-limits -Wvla -I$srcdir/src -I$srcdir/src/extras -ftree-vectorize -fvisibility=hidden"
|
||||
KVZ_CFLAGS="-Wall -Wextra -Wvla -Wno-sign-compare -Wno-unused-parameter -I$srcdir/src -I$srcdir/src/extras -ftree-vectorize -fvisibility=hidden"
|
||||
CFLAGS="$KVZ_CFLAGS $CFLAGS"
|
||||
|
||||
AC_SEARCH_LIBS([log], [m c], [], [exit 1])
|
||||
|
|
|
@ -186,7 +186,7 @@ SUITE(dct_tests)
|
|||
|
||||
// Loop through all strategies picking out the intra sad ones and run
|
||||
// select strategies though all tests
|
||||
for (unsigned i = 0; i < strategies.count; ++i) {
|
||||
for (volatile unsigned i = 0; i < strategies.count; ++i) {
|
||||
const strategy_t * strategy = &strategies.strategies[i];
|
||||
|
||||
// Select buffer width according to function name for dct function.
|
||||
|
|
|
@ -329,7 +329,7 @@ SUITE(sad_tests)
|
|||
|
||||
setup_tests();
|
||||
|
||||
for (unsigned i = 0; i < strategies.count; ++i) {
|
||||
for (volatile unsigned i = 0; i < strategies.count; ++i) {
|
||||
if (strcmp(strategies.strategies[i].type, "reg_sad") != 0) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -355,7 +355,7 @@ SUITE(speed_tests)
|
|||
|
||||
// Loop through all strategies picking out the intra sad ones and run
|
||||
// selectec strategies though all tests
|
||||
for (unsigned i = 0; i < strategies.count; ++i) {
|
||||
for (volatile unsigned i = 0; i < strategies.count; ++i) {
|
||||
const strategy_t * strategy = &strategies.strategies[i];
|
||||
|
||||
// Select buffer width according to function name.
|
||||
|
|
Loading…
Reference in a new issue