C-ICAP-Classify icon indicating copy to clipboard operation
C-ICAP-Classify copied to clipboard

Failing to build with GCC14

Open papoteur-mga opened this issue 7 months ago • 0 comments

Trying to build with GCC 14 a snapshot to the latest commit gives:

srv_classify.c: In function 'must_classify':
srv_classify.c:1272:19: error: implicit declaration of function 'ci_magic_type_groups'; did you mean 'ci_data_type_groups'? [-Wimplicit-function-declaration]
 1272 |     file_groups = ci_magic_type_groups(file_type);
      |                   ^~~~~~~~~~~~~~~~~~~~
      |                   ci_data_type_groups
srv_classify.c:1272:17: error: assignment to 'const int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1272 |     file_groups = ci_magic_type_groups(file_type);
      |                 ^
make[3]: *** [Makefile:722: srv_classify_la-srv_classify.lo] Error 1

papoteur-mga avatar Jul 25 '24 06:07 papoteur-mga