source_subfolder/error.c: In function ‘__xmlRaiseError’: source_subfolder/error.c:634:26: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 634 | else if ((channel == (xmlGenericErrorFunc) fprintf) || | ^ source_subfolder/parser.c: In function ‘xmlParseReference__internal_alias’: source_subfolder/parser.c:7034:44: warning: ‘%d’ directive output may be truncated writing between 3 and 10 bytes into a region of size 9 [-Wformat-truncation=] 7034 | snprintf((char *)out, sizeof(out), "#%d", value); | ^~ source_subfolder/parser.c:7034:42: note: directive argument in the range [256, 2147483647] 7034 | snprintf((char *)out, sizeof(out), "#%d", value); | ^~~~~ In file included from /usr/include/stdio.h:867, from source_subfolder/libxml.h:51, from source_subfolder/parser.c:39: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 12 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source_subfolder/parser.c:7032:47: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7032 | snprintf((char *)out, sizeof(out), "#x%X", value); | ^ In file included from /usr/include/stdio.h:867, from source_subfolder/libxml.h:51, from source_subfolder/parser.c:39: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source_subfolder/debugXML.c: In function ‘xmlShellRNGValidate’: source_subfolder/debugXML.c:2367:6: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2367 | (xmlRelaxNGValidityErrorFunc) fprintf, | ^ source_subfolder/debugXML.c:2368:6: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2368 | (xmlRelaxNGValidityWarningFunc) fprintf, | ^ source_subfolder/debugXML.c:2379:6: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2379 | (xmlRelaxNGValidityErrorFunc) fprintf, | ^ source_subfolder/debugXML.c:2380:6: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2380 | (xmlRelaxNGValidityWarningFunc) fprintf, | ^ source_subfolder/debugXML.c: In function ‘xmlShellValidate__internal_alias’: source_subfolder/debugXML.c:2651:19: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2651 | vctxt.error = (xmlValidityErrorFunc) fprintf; | ^ source_subfolder/debugXML.c:2652:21: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2652 | vctxt.warning = (xmlValidityWarningFunc) fprintf; | ^ source_subfolder/xmllint.c: In function ‘testSAX’: source_subfolder/xmllint.c:1656:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 1656 | (xmlSchemaValidityErrorFunc) fprintf, | ^ source_subfolder/xmllint.c:1657:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 1657 | (xmlSchemaValidityWarningFunc) fprintf, | ^ source_subfolder/xmllint.c: In function ‘parseAndPrintFile’: source_subfolder/xmllint.c:2764:22: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2764 | cvp->error = (xmlValidityErrorFunc) fprintf; | ^ source_subfolder/xmllint.c:2765:22: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2765 | cvp->warning = (xmlValidityWarningFunc) fprintf; | ^ source_subfolder/xmllint.c:2800:18: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2800 | cvp->error = (xmlValidityErrorFunc) fprintf; | ^ source_subfolder/xmllint.c:2801:18: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2801 | cvp->warning = (xmlValidityWarningFunc) fprintf; | ^ source_subfolder/xmllint.c:2864:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2864 | (xmlRelaxNGValidityErrorFunc) fprintf, | ^ source_subfolder/xmllint.c:2865:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2865 | (xmlRelaxNGValidityWarningFunc) fprintf, | ^ source_subfolder/xmllint.c:2892:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2892 | (xmlSchemaValidityErrorFunc) fprintf, | ^ source_subfolder/xmllint.c:2893:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 2893 | (xmlSchemaValidityWarningFunc) fprintf, | ^ source_subfolder/xmllint.c: In function ‘main’: source_subfolder/xmllint.c:3589:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 3589 | (xmlRelaxNGValidityErrorFunc) fprintf, | ^ source_subfolder/xmllint.c:3590:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 3590 | (xmlRelaxNGValidityWarningFunc) fprintf, | ^ source_subfolder/xmllint.c:3615:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 3615 | (xmlSchemaValidityErrorFunc) fprintf, | ^ source_subfolder/xmllint.c:3616:3: warning: cast between incompatible function types from ‘int (*)(FILE * restrict, const char * restrict, ...)’ {aka ‘int (*)(struct _IO_FILE * restrict, const char * restrict, ...)’} to ‘void (*)(void *, const char *, ...)’ [-Wcast-function-type] 3616 | (xmlSchemaValidityWarningFunc) fprintf, | ^ CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY