C-ICAP-Classify
C-ICAP-Classify copied to clipboard
Failing to build with GCC14
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