Netflix / vmaf

Perceptual video quality assessment based on multi-method fusion.
Other
4.59k stars 749 forks source link

2.1.1: LTO and other warnings #807

Closed kloczek closed 1 year ago

kloczek commented 3 years ago

Even one LTO related warning i blocking use of LTO but other warnings are sometimes important as well.

../src/feature/iqa/convolve.c: In function ‘KBND_SYMMETRIC’:
../src/feature/iqa/convolve.c:41:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
   41 | float KBND_SYMMETRIC(const float *img, int w, int h, int x, int y, float bnd_const)
      |                                                                    ~~~~~~^~~~~~~~~
../src/feature/iqa/convolve.c: In function ‘KBND_REPLICATE’:
../src/feature/iqa/convolve.c:50:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
   50 | float KBND_REPLICATE(const float *img, int w, int h, int x, int y, float bnd_const)
      |                                                                    ~~~~~~^~~~~~~~~
../tools/vidinput.c: In function ‘raw_input_open’:
../tools/vidinput.c:40:15: warning: assignment to ‘const video_input_vtbl *’ from incompatible pointer type ‘raw_input_vtbl *’ [-Wincompatible-pointer-types]
   40 |     _vid->vtbl=&YUV_INPUT_VTBL;
      |               ^
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26:
../src/feature/feature_name.h:24:31: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                         ~~~~~~^~~~
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                                    ^~~
In file included from ../src/feature/feature_collector.c:26:
../src/feature/feature_name.h:24:43: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                                     ~~~~~~^~~
../src/feature/feature_extractor.c: In function ‘get_fex_list_entry’:
../src/feature/feature_extractor.c:288:9: warning: unused variable ‘err’ [-Wunused-variable]
  288 |     int err = vmaf_dictionary_copy(&opts_dict, &entry.opts_dict);
      |         ^~~
In file included from ../src/feature/integer_motion.c:27:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:37:34: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
   37 |         int i_tap = horizontal ? i : i - radius + k;
      |                                  ^
../src/feature/integer_motion.h:38:51: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
   38 |         int j_tap = horizontal ? j - radius + k : j;
      |                                                   ^
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   65 |     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:28: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   86 |         free(existing_entry->val);
      |              ~~~~~~~~~~~~~~^~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  104 |     free(val_copy);
      |          ^~~~~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  131 |        if (d->entry[i].key) free(d->entry[i].key);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:132:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  132 |        if (d->entry[i].val) free(d->entry[i].val);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_feature_collector.c:20:
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26,
                 from ../test/test_feature_collector.c:20:
../src/feature/feature_name.h:24:31: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                         ~~~~~~^~~~
In file included from ../test/test_feature_collector.c:20:
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                                    ^~~
In file included from ../src/feature/feature_collector.c:26,
                 from ../test/test_feature_collector.c:20:
../src/feature/feature_name.h:24:43: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                                     ~~~~~~^~~
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   65 |     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:28: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   86 |         free(existing_entry->val);
      |              ~~~~~~~~~~~~~~^~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  104 |     free(val_copy);
      |          ^~~~~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  131 |        if (d->entry[i].key) free(d->entry[i].key);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:132:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  132 |        if (d->entry[i].val) free(d->entry[i].val);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:432:22: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  432 |             sprintf(c.name, "%s_%04d", name, ++i);
      |                     ~^~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
../src/read_json_model.c:439:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  439 |     free(name);
      |          ^~~~
In file included from ../src/read_json_model.c:25:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_model.c:23:
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
  167 |                                   &opts_dict, 0);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10,
                 from ../test/test_model.c:23:
../src/dict.h:51:56: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   51 |                                       VmafDictionary **dict_b,
      |                                       ~~~~~~~~~~~~~~~~~^~~~~~
In file included from ../test/test_model.c:23:
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
  175 |     err |= vmaf_dictionary_free(&opts_dict);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10,
                 from ../test/test_model.c:23:
../src/dict.h:56:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   56 | int vmaf_dictionary_free(VmafDictionary **dict);
      |                          ~~~~~~~~~~~~~~~~~^~~~
In file included from ../test/test_model.c:23:
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:18: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  214 |         memset(mc->name, 0, name_sz);
      |                ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h:9,
                 from ../test/test_model.c:19:
/usr/include/bits/string_fortified.h:57:1: note: expected ‘void *’ but argument is of type ‘const char *’
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      | ^~~~~
In file included from ../test/test_model.c:23:
../src/model.c:215:19: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  215 |         strncpy(mc->name, model->name, name_sz - 1);
      |                 ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h:9,
                 from ../test/test_model.c:19:
/usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
In file included from ../test/test_model.c:23:
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:26: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  246 |     free(model_collection->name);
      |          ~~~~~~~~~~~~~~~~^~~~~~
In file included from ../src/model.c:2,
                 from ../test/test_model.c:23:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_model.c:23:
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                  ^~~~~~~~~~
      |                                  |
      |                                  VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10,
                 from ../test/test_model.c:23:
../src/dict.h:48:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                          ~~~~~~~~~~~~~~~~~^~~
In file included from ../test/test_model.c:23:
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                              ^~
      |                                              |
      |                                              VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10,
                 from ../test/test_model.c:23:
../src/dict.h:48:65: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                                                ~~~~~~~~~~~~~~~~~^~~
../test/test_model.c: In function ‘model_compare’:
../test/test_model.c:35:32: warning: self-comparison always evaluates to false [-Wtautological-compare]
   35 |     err += model_a->n_features != model_a->n_features;
      |                                ^~
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:432:22: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  432 |             sprintf(c.name, "%s_%04d", name, ++i);
      |                     ~^~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
../src/read_json_model.c:439:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  439 |     free(name);
      |          ^~~~
In file included from ../src/read_json_model.c:25:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/feature/feature_collector.c: In function ‘aggregate_vector_append’:
../src/feature/feature_collector.c:65:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   65 |         memset(metric + initial_size, 0, initial_size);
      |                       ^
../src/feature/feature_collector.c: In function ‘feature_vector_append’:
../src/feature/feature_collector.c:182:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  182 |         memset(score + initial_size, 0, initial_size);
      |                      ^
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26:
../src/feature/feature_name.h:24:31: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                         ~~~~~~^~~~
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  298 |     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
      |                                                    ^~~
In file included from ../src/feature/feature_collector.c:26:
../src/feature/feature_name.h:24:43: note: expected ‘char *’ but argument is of type ‘const char *’
   24 | char *vmaf_feature_name(char *name, char *key, double val,
      |                                     ~~~~~~^~~
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
  167 |                                   &opts_dict, 0);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:51:56: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   51 |                                       VmafDictionary **dict_b,
      |                                       ~~~~~~~~~~~~~~~~~^~~~~~
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
  175 |     err |= vmaf_dictionary_free(&opts_dict);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:56:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   56 | int vmaf_dictionary_free(VmafDictionary **dict);
      |                          ~~~~~~~~~~~~~~~~~^~~~
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:18: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  214 |         memset(mc->name, 0, name_sz);
      |                ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/bits/string_fortified.h:57:1: note: expected ‘void *’ but argument is of type ‘const char *’
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      | ^~~~~
../src/model.c:215:19: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  215 |         strncpy(mc->name, model->name, name_sz - 1);
      |                 ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:26: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  246 |     free(model_collection->name);
      |          ~~~~~~~~~~~~~~~~^~~~~~
In file included from ../src/model.c:2:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                  ^~~~~~~~~~
      |                                  |
      |                                  VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:48:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                          ~~~~~~~~~~~~~~~~~^~~
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                              ^~
      |                                              |
      |                                              VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:48:65: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                                                ~~~~~~~~~~~~~~~~~^~~
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   65 |     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:28: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   86 |         free(existing_entry->val);
      |              ~~~~~~~~~~~~~~^~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  104 |     free(val_copy);
      |          ^~~~~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  131 |        if (d->entry[i].key) free(d->entry[i].key);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:132:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  132 |        if (d->entry[i].val) free(d->entry[i].val);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/feature/feature_extractor.c: In function ‘get_fex_list_entry’:
../src/feature/feature_extractor.c:288:9: warning: unused variable ‘err’ [-Wunused-variable]
  288 |     int err = vmaf_dictionary_copy(&opts_dict, &entry.opts_dict);
      |         ^~~
In file included from ../test/test_dict.c:22:
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   65 |     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:28: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   86 |         free(existing_entry->val);
      |              ~~~~~~~~~~~~~~^~~~~
In file included from ../src/dict.c:3,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_dict.c:22:
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  104 |     free(val_copy);
      |          ^~~~~~~~
In file included from ../src/dict.c:3,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_dict.c:22:
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  131 |        if (d->entry[i].key) free(d->entry[i].key);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
In file included from ../test/test_dict.c:22:
../src/dict.c:132:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  132 |        if (d->entry[i].val) free(d->entry[i].val);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:128:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  128 |             key = model->feature[i].opts_dict->entry[0].key;
      |                 ^
../src/predict.c: In function ‘vmaf_bootstrap_predict_score_at_index’:
../src/predict.c:269:12: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  269 |     memset(name, 0, name_sz);
      |            ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/string_fortified.h:57:1: note: expected ‘void *’ but argument is of type ‘const char *’
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      | ^~~~~
../src/predict.c:271:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  271 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_bagging);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:275:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  275 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_stddev);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:279:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  279 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_lo);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:283:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  283 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_hi);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../tools/main.cpp: In function ‘int run_wrapper(char*, int, int, char*, char*, char*, char*, char*, bool, bool, bool, bool, bool, bool, bool, char*, int, int, bool)’:
../tools/main.cpp:197:92: warning: ‘int compute_vmaf(double*, char*, int, int, int (*)(float*, float*, float*, int, void*), void*, char*, char*, char*, int, int, int, int, int, int, int, char*, int, int, int)’ is deprecated [-Wdeprecated-declarations]
  197 |                        do_ms_ssim, pool_method, n_thread, n_subsample, enable_conf_interval);
      |                                                                                            ^
In file included from ../include/libvmaf/libvmaf.h:25,
                 from ../tools/main.cpp:30:
../include/libvmaf/compute_vmaf.h:66:5: note: declared here
   66 | int compute_vmaf(double* vmaf_score, char* fmt, int width, int height, int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride_byte, void *user_data),
      |     ^~~~~~~~~~~~
In file included from ../src/feature/x86/motion_avx2.c:23:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:37:34: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
   37 |         int i_tap = horizontal ? i : i - radius + k;
      |                                  ^
../src/feature/integer_motion.h:38:51: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
   38 |         int j_tap = horizontal ? j - radius + k : j;
      |                                                   ^
../src/feature/x86/motion_avx2.c: In function ‘x_convolution_16_avx2’:
../src/feature/x86/motion_avx2.c:35:15: warning: unused variable ‘tmpdst’ [-Wunused-variable]
   35 |     uint16_t *tmpdst = dst;
      |               ^~~~~~
fatal: not a git repository: '/home/tkloczko/rpmbuild/BUILD/vmaf-2.1.1/libvmaf/../.git'
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_8_avx2’:
../src/feature/x86/vif_avx2.c:77: warning: ignoring ‘#pragma loop ’ [-Wunknown-pragmas]
   77 | #pragma loop(ivdep)
      |
../src/feature/x86/vif_avx2.c:100:77: warning: unused variable ‘sg8’ [-Wunused-variable]
  100 |                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
      |                                                                             ^~~
../src/feature/x86/vif_avx2.c:100:32: warning: unused variable ‘s28’ [-Wunused-variable]
  100 |                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
      |                                ^~~
../src/feature/x86/vif_avx2.c:99:53: warning: unused variable ‘s8’ [-Wunused-variable]
   99 |             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s20, s21, s22, s23, s24,
      |                                                     ^~
../src/feature/x86/vif_avx2.c:98:32: warning: unused variable ‘g28’ [-Wunused-variable]
   98 |                 g25, g26, g27, g28;
      |                                ^~~
../src/feature/x86/vif_avx2.c:97:53: warning: unused variable ‘g8’ [-Wunused-variable]
   97 |             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g20, g21, g22, g23, g24,
      |                                                     ^~
../src/feature/x86/vif_avx2.c:83:21: warning: variable ‘accum_ref_lo’ set but not used [-Wunused-but-set-variable]
   83 |             __m256i accum_ref_lo, accum_ref_hi, accum_dis_lo, accum_dis_hi,
      |                     ^~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:710:21: warning: variable ‘refdislo’ set but not used [-Wunused-but-set-variable]
  710 |             __m256i refdislo, refdishi, mu2lo, mu2hi, mu1lo, mu1hi;
      |                     ^~~~~~~~
../src/feature/x86/vif_avx2.c:1108:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1108 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check))); // 4
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1110:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1110 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 1))); // 8
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1112:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1112 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 2))); // 4
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1114:17: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1114 |                 (__m128 *)(buf.tmp.ref + jj_check + 3))); // 8  //12
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 |
      |                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1121:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1121 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1123:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1123 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 5)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1125:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1125 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 6)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1127:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1127 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 7)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1139:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1139 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 8)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1141:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1141 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 9)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1143:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1143 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 10)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1145:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1145 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 11)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1157:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1157 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 12)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1159:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1159 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 13)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1161:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1161 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 14)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1163:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1163 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 15)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1175:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1175 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 16)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1177:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1177 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 17)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1179:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1179 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 18)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1181:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1181 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 19)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1190:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1190 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 20)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1194:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1194 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1196:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1196 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 1)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1198:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1198 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 2)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1200:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1200 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 3)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1207:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1207 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1209:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1209 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 5)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1211:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1211 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 6)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1213:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1213 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 7)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1225:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1225 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 8)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1227:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1227 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 9)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1229:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1229 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 10)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1231:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1231 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 11)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1243:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1243 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 12)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1245:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1245 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 13)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1247:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1247 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 14)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1249:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1249 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 15)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1261:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1261 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 16)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1263:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1263 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 17)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1265:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1265 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 18)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1267:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1267 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 19)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1275:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1275 |                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 20)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1279:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1279 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1281:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1281 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 1)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1283:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1283 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 2)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1285:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1285 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 3)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1292:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1292 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1294:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1294 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 5)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1296:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1296 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 6)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1298:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1298 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 7)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1310:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1310 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 8)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1312:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1312 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 9)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1314:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1314 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 10)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1316:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1316 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 11)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1328:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1328 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 12)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1330:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1330 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 13)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1332:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1332 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 14)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1334:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1334 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 15)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1347:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1347 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 16)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1349:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1349 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 17)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1351:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1351 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 18)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1353:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1353 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 19)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1362:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1362 |                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 20)));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:36:13: warning: unused variable ‘f0’ [-Wunused-variable]
   36 |     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, fc0, fc1, fc2, fc3, fc4,
      |             ^~
../src/feature/x86/vif_avx2.c:29:20: warning: unused variable ‘fwidth_v’ [-Wunused-variable]
   29 |     const unsigned fwidth_v = 18;
      |                    ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_16_avx2’:
../src/feature/x86/vif_avx2.c:1427:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1427 |         for (unsigned j = 0; j < n << 4; j = j + 16) {
      |                                ^
../src/feature/x86/vif_avx2.c:1452:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
 1452 |                 const uint16_t fcoeff = vif_filt[fi];
      |                                ^~~~~~
../src/feature/x86/vif_avx2.c:1433:21: warning: unused variable ‘mask1’ [-Wunused-variable]
 1433 |             __m256i mask1 = _mm256_set_epi8(15, 14, 11, 10, 7, 6, 3, 2, 13, 12,
      |                     ^~~~~
../src/feature/x86/vif_avx2.c:1432:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
 1432 |             uint64_t accum_ref_dis = 0;
      |                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1431:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
 1431 |             uint64_t accum_dis = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1430:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
 1430 |             uint64_t accum_ref = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1429:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
 1429 |             uint32_t accum_mu2 = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1428:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
 1428 |             uint32_t accum_mu1 = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1656:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1656 |         for (unsigned j = 0; j < n << 3; j = j + 8) {
      |                                ^
../src/feature/x86/vif_avx2.c:1661: warning: ignoring ‘#pragma unroll ’ [-Wunknown-pragmas]
 1661 | #pragma unroll(4)
      |
../src/feature/x86/vif_avx2.c:1659:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
 1659 |             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
      |                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1696:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1696 |         for (unsigned j = 0; j < n << 3; j = j + 8) {
      |                                ^
../src/feature/x86/vif_avx2.c:1709: warning: ignoring ‘#pragma unroll ’ [-Wunknown-pragmas]
 1709 | #pragma unroll(2)
      |
../src/feature/x86/vif_avx2.c:1710:51: warning: operation on ‘fj’ may be undefined [-Wsequence-point]
 1710 |             for (unsigned fj = 0; fj < fwidth; fj = ++fj, jj_check = jj + fj) {
      |                                                ~~~^~~~~~
../src/feature/x86/vif_avx2.c:1713:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1713 |                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check)));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1716:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1716 |                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1720:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1720 |                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1723:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1723 |                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1727:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1727 |                     _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1731:21: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
 1731 |                     (__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     __m128 *
In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h:1316,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h:31,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h:701:35: note: expected ‘const __m128i_u *’ but argument is of type ‘__m128 *’
  701 | _mm_loadu_si128 (__m128i_u const *__P)
      |                  ~~~~~~~~~~~~~~~~~^~~
../src/feature/x86/vif_avx2.c:1701:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
 1701 |             uint64_t accum_ref_dis = 0;
      |                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1700:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
 1700 |             uint64_t accum_dis = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1699:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
 1699 |             uint64_t accum_ref = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1698:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
 1698 |             uint32_t accum_mu2 = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1697:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
 1697 |             uint32_t accum_mu1 = 0;
      |                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_8_avx2’:
../src/feature/x86/vif_avx2.c:1850:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1850 |         for (unsigned j = 0; j < n << 4; j = j + 16) {
      |                                ^
../src/feature/x86/vif_avx2.c:1857:76: warning: unused variable ‘sg1’ [-Wunused-variable]
 1857 |             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
      |                                                                            ^~~
../src/feature/x86/vif_avx2.c:1857:71: warning: unused variable ‘sg0’ [-Wunused-variable]
 1857 |             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
      |                                                                       ^~~
../src/feature/x86/vif_avx2.c:1857:66: warning: unused variable ‘s21’ [-Wunused-variable]
 1857 |             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
      |                                                                  ^~~
../src/feature/x86/vif_avx2.c:1857:61: warning: unused variable ‘s20’ [-Wunused-variable]
 1857 |             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
      |                                                             ^~~
../src/feature/x86/vif_avx2.c:1856:66: warning: unused variable ‘g21’ [-Wunused-variable]
 1856 |             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
      |                                                                  ^~~
../src/feature/x86/vif_avx2.c:1856:61: warning: unused variable ‘g20’ [-Wunused-variable]
 1856 |             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
      |                                                             ^~~
../src/feature/x86/vif_avx2.c:2004:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 2004 |         for (unsigned j = 0; j < n << 3; j = j + 8) {
      |                                ^
../src/feature/x86/vif_avx2.c:2007:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
 2007 |             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
      |                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1805:45: warning: unused variable ‘f8’ [-Wunused-variable]
 1805 |     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
      |                                             ^~
../src/feature/x86/vif_avx2.c:1805:41: warning: unused variable ‘f7’ [-Wunused-variable]
 1805 |     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
      |                                         ^~
../src/feature/x86/vif_avx2.c:1805:37: warning: unused variable ‘f6’ [-Wunused-variable]
 1805 |     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
      |                                     ^~
../src/feature/x86/vif_avx2.c:1805:33: warning: unused variable ‘f5’ [-Wunused-variable]
 1805 |     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
      |                                 ^~
../src/feature/x86/vif_avx2.c:1796:9: warning: unused variable ‘fwidth_x’ [-Wunused-variable]
 1796 |     int fwidth_x = (fwidth % 2 == 0) ? fwidth : fwidth + 1;
      |         ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_16_avx2’:
../src/feature/x86/vif_avx2.c:2221:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 2221 |         for (unsigned j = 0; j < n << 4; j = j + 16) {
      |                                ^
../src/feature/x86/vif_avx2.c:2228:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
 2228 |                 const uint16_t fcoeff = vif_filt[fi];
      |                                ^~~~~~
../src/feature/x86/vif_avx2.c:2295:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 2295 |         for (unsigned j = 0; j < n << 3; j = j + 8) {
      |                                ^
../src/feature/x86/vif_avx2.c:2301:29: warning: unused variable ‘dis’ [-Wunused-variable]
 2301 |             const uint16_t *dis = (uint16_t *)buf.dis;
      |                             ^~~
../src/feature/x86/vif_avx2.c:2300:29: warning: unused variable ‘ref’ [-Wunused-variable]
 2300 |             const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
      |                             ^~~
../src/feature/x86/vif_avx2.c:2298:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
 2298 |             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
      |                     ^~~~~~~
../src/feature/x86/vif_avx2.c:2205:13: warning: unused variable ‘mask2’ [-Wunused-variable]
 2205 |     __m256i mask2 = _mm256_set_epi32(7, 5, 3, 1, 6, 4, 2, 0);
      |             ^~~~~
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   65 |     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:28: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   86 |         free(existing_entry->val);
      |              ~~~~~~~~~~~~~~^~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  104 |     free(val_copy);
      |          ^~~~~~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  131 |        if (d->entry[i].key) free(d->entry[i].key);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/dict.c:132:45: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  132 |        if (d->entry[i].val) free(d->entry[i].val);
      |                                  ~~~~~~~~~~~^~~~
In file included from ../src/dict.c:3:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:432:22: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  432 |             sprintf(c.name, "%s_%04d", name, ++i);
      |                     ~^~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
../src/read_json_model.c:439:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  439 |     free(name);
      |          ^~~~
In file included from ../src/read_json_model.c:25:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
  167 |                                   &opts_dict, 0);
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:51:56: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   51 |                                       VmafDictionary **dict_b,
      |                                       ~~~~~~~~~~~~~~~~~^~~~~~
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
  175 |     err |= vmaf_dictionary_free(&opts_dict);
      |                                 ^~~~~~~~~~
      |                                 |
      |                                 VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:56:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   56 | int vmaf_dictionary_free(VmafDictionary **dict);
      |                          ~~~~~~~~~~~~~~~~~^~~~
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:18: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  214 |         memset(mc->name, 0, name_sz);
      |                ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/bits/string_fortified.h:57:1: note: expected ‘void *’ but argument is of type ‘const char *’
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      | ^~~~~
../src/model.c:215:19: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  215 |         strncpy(mc->name, model->name, name_sz - 1);
      |                 ~~^~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:26: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  246 |     free(model_collection->name);
      |          ~~~~~~~~~~~~~~~~^~~~~~
In file included from ../src/model.c:2:
/usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’
  565 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                  ^~~~~~~~~~
      |                                  |
      |                                  VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:48:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                          ~~~~~~~~~~~~~~~~~^~~
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  307 |         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
      |                                              ^~
      |                                              |
      |                                              VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/model.c:10:
../src/dict.h:48:65: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                                                ~~~~~~~~~~~~~~~~~^~~
../src/libvmaf.c: In function ‘vmaf_use_feature’:
../src/libvmaf.c:136:36: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
  136 |         err = vmaf_dictionary_copy(&opts_dict, &d);
      |                                    ^~~~~~~~~~
      |                                    |
      |                                    VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/libvmaf.c:31:
../src/dict.h:48:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   48 | int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
      |                          ~~~~~~~~~~~~~~~~~^~~
../src/libvmaf.c:138:36: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
  138 |         err = vmaf_dictionary_free(&opts_dict);
      |                                    ^~~~~~~~~~
      |                                    |
      |                                    VmafFeatureDictionary **
In file included from ../src/feature/feature_extractor.h:26,
                 from ../src/libvmaf.c:31:
../src/dict.h:56:43: note: expected ‘VmafDictionary **’ but argument is of type ‘VmafFeatureDictionary **’
   56 | int vmaf_dictionary_free(VmafDictionary **dict);
      |                          ~~~~~~~~~~~~~~~~~^~~~
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:128:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  128 |             key = model->feature[i].opts_dict->entry[0].key;
      |                 ^
../src/predict.c: In function ‘vmaf_bootstrap_predict_score_at_index’:
../src/predict.c:269:12: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  269 |     memset(name, 0, name_sz);
      |            ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/string_fortified.h:57:1: note: expected ‘void *’ but argument is of type ‘const char *’
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      | ^~~~~
../src/predict.c:271:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  271 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_bagging);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:275:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  275 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_stddev);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:279:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  279 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_lo);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/predict.c:283:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  283 |     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_hi);
      |              ^~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/bits/stdio2.h:68:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
   68 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_17’:
../src/feature/common/convolution_avx.c:224:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  224 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                                ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_9’:
../src/feature/common/convolution_avx.c:347:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  347 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                               ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_5’:
../src/feature/common/convolution_avx.c:412:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  412 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                               ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_17’:
../src/feature/common/convolution_avx.c:571:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  571 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                                ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_9’:
../src/feature/common/convolution_avx.c:691:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  691 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                               ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_5’:
../src/feature/common/convolution_avx.c:756:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  756 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                               ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_17’:
../src/feature/common/convolution_avx.c:997:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
  997 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                                   ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1137:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1137 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1211:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1211 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_17’:
../src/feature/common/convolution_avx.c:1384:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1384 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                                   ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1521:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1521 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1595:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1595 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_17’:
../src/feature/common/convolution_avx.c:1850:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 1850 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
      |                                                                                                   ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2007:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 2007 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2090:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 2090 | FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_17’:
../src/feature/common/convolution_avx.c:2278:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 2278 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
      |                                                                                                   ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2433:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 2433 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2517:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 2517 | FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
      |                                                                                                  ~~~~^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline’:
../src/feature/common/convolution_avx.c:492:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  492 |                                 f8 = _mm256_broadcast_ss(filter + y + 8);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:493:25: note: here
  493 |                         case 8:
      |                         ^~~~
../src/feature/common/convolution_avx.c:494:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  494 |                                 f7 = _mm256_broadcast_ss(filter + y + 7);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:495:25: note: here
  495 |                         case 7:
      |                         ^~~~
../src/feature/common/convolution_avx.c:496:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  496 |                                 f6 = _mm256_broadcast_ss(filter + y + 6);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:497:25: note: here
  497 |                         case 6:
      |                         ^~~~
../src/feature/common/convolution_avx.c:498:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  498 |                                 f5 = _mm256_broadcast_ss(filter + y + 5);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:499:25: note: here
  499 |                         case 5:
      |                         ^~~~
../src/feature/common/convolution_avx.c:500:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  500 |                                 f4 = _mm256_broadcast_ss(filter + y + 4);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:501:25: note: here
  501 |                         case 4:
      |                         ^~~~
../src/feature/common/convolution_avx.c:502:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  502 |                                 f3 = _mm256_broadcast_ss(filter + y + 3);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:503:25: note: here
  503 |                         case 3:
      |                         ^~~~
../src/feature/common/convolution_avx.c:504:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  504 |                                 f2 = _mm256_broadcast_ss(filter + y + 2);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:505:25: note: here
  505 |                         case 2:
      |                         ^~~~
../src/feature/common/convolution_avx.c:506:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  506 |                                 f1 = _mm256_broadcast_ss(filter + y + 1);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:507:25: note: here
  507 |                         case 1:
      |                         ^~~~
../src/feature/common/convolution_avx.c:524:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  524 |                                         sum0 = _mm256_mul_ps(f8, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:525:33: note: here
  525 |                                 case 8:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:527:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  527 |                                         sum3 = _mm256_mul_ps(f7, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:528:33: note: here
  528 |                                 case 7:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:530:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  530 |                                         sum2 = _mm256_mul_ps(f6, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:531:33: note: here
  531 |                                 case 6:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:533:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  533 |                                         sum1 = _mm256_mul_ps(f5, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:534:33: note: here
  534 |                                 case 5:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:537:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  537 |                                         sum0 = _mm256_add_ps(sum0, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:538:33: note: here
  538 |                                 case 4:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:541:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  541 |                                         sum3 = _mm256_add_ps(sum3, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:542:33: note: here
  542 |                                 case 3:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:545:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  545 |                                         sum2 = _mm256_add_ps(sum2, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:546:33: note: here
  546 |                                 case 2:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:549:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  549 |                                         sum1 = _mm256_add_ps(sum1, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:550:33: note: here
  550 |                                 case 1:
      |                                 ^~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline’:
../src/feature/common/convolution_avx.c:144:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  144 |                                 f8 = _mm256_broadcast_ss(filter + x + 8);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:145:25: note: here
  145 |                         case 8:
      |                         ^~~~
../src/feature/common/convolution_avx.c:146:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  146 |                                 f7 = _mm256_broadcast_ss(filter + x + 7);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:147:25: note: here
  147 |                         case 7:
      |                         ^~~~
../src/feature/common/convolution_avx.c:148:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  148 |                                 f6 = _mm256_broadcast_ss(filter + x + 6);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:149:25: note: here
  149 |                         case 6:
      |                         ^~~~
../src/feature/common/convolution_avx.c:150:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  150 |                                 f5 = _mm256_broadcast_ss(filter + x + 5);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:151:25: note: here
  151 |                         case 5:
      |                         ^~~~
../src/feature/common/convolution_avx.c:152:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  152 |                                 f4 = _mm256_broadcast_ss(filter + x + 4);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:153:25: note: here
  153 |                         case 4:
      |                         ^~~~
../src/feature/common/convolution_avx.c:154:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  154 |                                 f3 = _mm256_broadcast_ss(filter + x + 3);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:155:25: note: here
  155 |                         case 3:
      |                         ^~~~
../src/feature/common/convolution_avx.c:156:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  156 |                                 f2 = _mm256_broadcast_ss(filter + x + 2);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:157:25: note: here
  157 |                         case 2:
      |                         ^~~~
../src/feature/common/convolution_avx.c:158:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  158 |                                 f1 = _mm256_broadcast_ss(filter + x + 1);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:159:25: note: here
  159 |                         case 1:
      |                         ^~~~
../src/feature/common/convolution_avx.c:176:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  176 |                                         sum0 = _mm256_mul_ps(f8, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:177:33: note: here
  177 |                                 case 8:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:179:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  179 |                                         sum3 = _mm256_mul_ps(f7, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:180:33: note: here
  180 |                                 case 7:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:182:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  182 |                                         sum2 = _mm256_mul_ps(f6, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:183:33: note: here
  183 |                                 case 6:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:185:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  185 |                                         sum1 = _mm256_mul_ps(f5, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:186:33: note: here
  186 |                                 case 5:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:189:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  189 |                                         sum0 = _mm256_add_ps(sum0, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:190:33: note: here
  190 |                                 case 4:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:193:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  193 |                                         sum3 = _mm256_add_ps(sum3, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:194:33: note: here
  194 |                                 case 3:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:197:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  197 |                                         sum2 = _mm256_add_ps(sum2, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:198:33: note: here
  198 |                                 case 2:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:201:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  201 |                                         sum1 = _mm256_add_ps(sum1, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:202:33: note: here
  202 |                                 case 1:
      |                                 ^~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline’:
../src/feature/common/convolution_avx.c:1296:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1296 |                                 f8 = _mm256_broadcast_ss(filter + y + 8);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1297:25: note: here
 1297 |                         case 8:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1298:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1298 |                                 f7 = _mm256_broadcast_ss(filter + y + 7);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1299:25: note: here
 1299 |                         case 7:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1300:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1300 |                                 f6 = _mm256_broadcast_ss(filter + y + 6);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1301:25: note: here
 1301 |                         case 6:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1302:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1302 |                                 f5 = _mm256_broadcast_ss(filter + y + 5);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1303:25: note: here
 1303 |                         case 5:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1304:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1304 |                                 f4 = _mm256_broadcast_ss(filter + y + 4);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1305:25: note: here
 1305 |                         case 4:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1306:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1306 |                                 f3 = _mm256_broadcast_ss(filter + y + 3);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1307:25: note: here
 1307 |                         case 3:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1308:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1308 |                                 f2 = _mm256_broadcast_ss(filter + y + 2);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1309:25: note: here
 1309 |                         case 2:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1310:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1310 |                                 f1 = _mm256_broadcast_ss(filter + y + 1);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1311:25: note: here
 1311 |                         case 1:
      |                         ^~~~
../src/feature/common/convolution_avx.c:1329:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1329 |                                         sum0 = _mm256_mul_ps(f8, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1330:33: note: here
 1330 |                                 case 8:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1333:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1333 |                                         sum3 = _mm256_mul_ps(f7, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1334:33: note: here
 1334 |                                 case 7:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1337:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1337 |                                         sum2 = _mm256_mul_ps(f6, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1338:33: note: here
 1338 |                                 case 6:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1341:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1341 |                                         sum1 = _mm256_mul_ps(f5, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1342:33: note: here
 1342 |                                 case 5:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1346:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1346 |                                         sum0 = _mm256_add_ps(sum0, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1347:33: note: here
 1347 |                                 case 4:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1351:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1351 |                                         sum3 = _mm256_add_ps(sum3, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1352:33: note: here
 1352 |                                 case 3:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1356:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1356 |                                         sum2 = _mm256_add_ps(sum2, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1357:33: note: here
 1357 |                                 case 2:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:1361:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1361 |                                         sum1 = _mm256_add_ps(sum1, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:1362:33: note: here
 1362 |                                 case 1:
      |                                 ^~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline’:
../src/feature/common/convolution_avx.c:2181:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2181 |                                 f8 = _mm256_broadcast_ss(filter + y + 8);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2182:25: note: here
 2182 |                         case 8:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2183:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2183 |                                 f7 = _mm256_broadcast_ss(filter + y + 7);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2184:25: note: here
 2184 |                         case 7:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2185:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2185 |                                 f6 = _mm256_broadcast_ss(filter + y + 6);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2186:25: note: here
 2186 |                         case 6:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2187:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2187 |                                 f5 = _mm256_broadcast_ss(filter + y + 5);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2188:25: note: here
 2188 |                         case 5:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2189:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2189 |                                 f4 = _mm256_broadcast_ss(filter + y + 4);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2190:25: note: here
 2190 |                         case 4:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2191:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2191 |                                 f3 = _mm256_broadcast_ss(filter + y + 3);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2192:25: note: here
 2192 |                         case 3:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2193:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2193 |                                 f2 = _mm256_broadcast_ss(filter + y + 2);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2194:25: note: here
 2194 |                         case 2:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2195:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2195 |                                 f1 = _mm256_broadcast_ss(filter + y + 1);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2196:25: note: here
 2196 |                         case 1:
      |                         ^~~~
../src/feature/common/convolution_avx.c:2215:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2215 |                                         sum0 = _mm256_mul_ps(f8, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2216:33: note: here
 2216 |                                 case 8:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2220:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2220 |                                         sum3 = _mm256_mul_ps(f7, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2221:33: note: here
 2221 |                                 case 7:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2225:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2225 |                                         sum2 = _mm256_mul_ps(f6, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2226:33: note: here
 2226 |                                 case 6:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2230:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2230 |                                         sum1 = _mm256_mul_ps(f5, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2231:33: note: here
 2231 |                                 case 5:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2236:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2236 |                                         sum0 = _mm256_add_ps(sum0, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2237:33: note: here
 2237 |                                 case 4:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2242:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2242 |                                         sum3 = _mm256_add_ps(sum3, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2243:33: note: here
 2243 |                                 case 3:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2248:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2248 |                                         sum2 = _mm256_add_ps(sum2, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2249:33: note: here
 2249 |                                 case 2:
      |                                 ^~~~
../src/feature/common/convolution_avx.c:2254:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2254 |                                         sum1 = _mm256_add_ps(sum1, g);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
../src/feature/common/convolution_avx.c:2255:33: note: here
 2255 |                                 case 1:
      |                                 ^~~~
../src/model.c:38:19: warning: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration [-Wlto-type-mismatch]
   38 | extern const char src_vmaf_v0_6_1neg_json;
      |                   ^
src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
      |               ^
../src/model.c:36:19: warning: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration [-Wlto-type-mismatch]
   36 | extern const char src_vmaf_b_v0_6_3_json;
      |                   ^
src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
    1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
      |               ^
../src/model.c:34:19: warning: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration [-Wlto-type-mismatch]
   34 | extern const char src_vmaf_v0_6_1_json;
      |                   ^
src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1_json[] = {
      |               ^
../src/model.c:38:19: warning: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration [-Wlto-type-mismatch]
   38 | extern const char src_vmaf_v0_6_1neg_json;
      |                   ^
src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
      |               ^
../src/model.c:36:19: warning: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration [-Wlto-type-mismatch]
   36 | extern const char src_vmaf_b_v0_6_3_json;
      |                   ^
src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
    1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
      |               ^
../src/model.c:34:19: warning: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration [-Wlto-type-mismatch]
   34 | extern const char src_vmaf_v0_6_1_json;
      |                   ^
src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1_json[] = {
      |               ^
In function ‘strncpy’,
    inlined from ‘vmaf_model_generate_name’ at ../src/model.c:130:9,
    inlined from ‘vmaf_read_json_model’ at ../src/read_json_model.c:360:15:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^
../src/read_json_model.c: In function ‘vmaf_read_json_model’:
../src/model.c:121:21: note: length computed here
  121 |         cfg->name ? strlen(cfg->name) + 1 : strlen(default_name) + 1;
      |                     ^
../src/model.c:38:19: warning: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration [-Wlto-type-mismatch]
   38 | extern const char src_vmaf_v0_6_1neg_json;
      |                   ^
src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
      |               ^
../src/model.c:36:19: warning: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration [-Wlto-type-mismatch]
   36 | extern const char src_vmaf_b_v0_6_3_json;
      |                   ^
src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
    1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
      |               ^
../src/model.c:34:19: warning: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration [-Wlto-type-mismatch]
   34 | extern const char src_vmaf_v0_6_1_json;
      |                   ^
src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1_json[] = {
      |               ^
In function ‘strncpy’,
    inlined from ‘vmaf_model_generate_name.isra’ at ../src/model.c:130:9:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^
../src/model.c: In function ‘vmaf_model_generate_name.isra’:
../src/model.c:121:21: note: length computed here
  121 |         cfg->name ? strlen(cfg->name) + 1 : strlen(default_name) + 1;
      |                     ^
In function ‘strncpy’,
    inlined from ‘vmaf_model_collection_append’ at ../src/model.c:215:9,
    inlined from ‘model_collection_parse’ at ../src/read_json_model.c:428:23,
    inlined from ‘vmaf_read_json_model_collection_from_path’ at ../src/read_json_model.c:454:11,
    inlined from ‘vmaf_model_collection_load_from_path’ at ../src/model.c:281:9,
    inlined from ‘compute_vmaf’ at ../src/compute_vmaf.c:154:15,
    inlined from ‘run_wrapper’ at ../tools/main.cpp:195:23,
    inlined from ‘main’ at ../tools/main.cpp:385:27:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^
../tools/main.cpp: In function ‘main’:
../src/model.c:211:32: note: length computed here
  211 |         const size_t name_sz = strlen(model->name) - 5 + 1;
      |                                ^
../src/model.c:38:19: warning: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration [-Wlto-type-mismatch]
   38 | extern const char src_vmaf_v0_6_1neg_json;
      |                   ^
src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
      |               ^
../src/model.c:36:19: warning: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration [-Wlto-type-mismatch]
   36 | extern const char src_vmaf_b_v0_6_3_json;
      |                   ^
src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
    1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
      |               ^
../src/model.c:34:19: warning: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration [-Wlto-type-mismatch]
   34 | extern const char src_vmaf_v0_6_1_json;
      |                   ^
src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1_json[] = {
      |               ^
In function ‘strncpy’,
    inlined from ‘vmaf_model_generate_name.isra’ at ../src/model.c:130:9:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^
../src/model.c: In function ‘vmaf_model_generate_name.isra’:
../src/model.c:121:21: note: length computed here
  121 |         cfg->name ? strlen(cfg->name) + 1 : strlen(default_name) + 1;
      |                     ^
../src/model.c:38:19: warning: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration [-Wlto-type-mismatch]
   38 | extern const char src_vmaf_v0_6_1neg_json;
      |                   ^
src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
      |               ^
../src/model.c:36:19: warning: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration [-Wlto-type-mismatch]
   36 | extern const char src_vmaf_b_v0_6_3_json;
      |                   ^
src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
    1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
      |               ^
../src/model.c:34:19: warning: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration [-Wlto-type-mismatch]
   34 | extern const char src_vmaf_v0_6_1_json;
      |                   ^
src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
    1 | unsigned char src_vmaf_v0_6_1_json[] = {
      |               ^
In function ‘strncpy’,
    inlined from ‘vmaf_model_generate_name’ at ../src/model.c:130:9:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^
../src/model.c: In function ‘vmaf_model_generate_name’:
../src/model.c:121:21: note: length computed here
  121 |         cfg->name ? strlen(cfg->name) + 1 : strlen(default_name) + 1;
      |                     ^
kloczek commented 2 years ago

Closing as there is no now LTO related warnings. I've opened fresh tixket wit all remaining warnings. Thank you 😃

kloczek commented 2 years ago

As long as I had issue with test suite I had inprssion that LTO related warnings gone but that was onlu impressionb ad those warnings are emmites. Reopening.

kloczek commented 1 year ago

Duplicate https://github.com/Netflix/vmaf/issues/915