**** GCC 10.1.1 : BUILDING CHDK-CHDK_DE, #1.6.0-5670 FOR m100-100a
HOSTCFLAGS=-g -O2 -Wall -DBUILD_NUMBER=\"$(BUILD_NUMBER)\" -I$(modules) -std=gnu11 -funsigned-char
ifdef OPT_WARNINGS
HOSTCFLAGS+=-Wextra -Wunused -Wno-missing-field-initializers -Wno-strict-overflow
HOSTCFLAGS+= -Wnested-externs -Wpedantic
endif
finsig_vxworks.c:1921:30: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
{ 21, "add_ptp_handler", (char*)find_add_ptp_handler, 0 },
^
finsig_vxworks.c:1923:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
{ 21, "mkdir", (char*)find_mkdir, 0 },
^
...
finsig_vxworks.c:1945:21: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
{ 22, "Remove", (char*)find_Remove, 0},
^
finsig_vxworks.c: In function 'match_strsig104':
finsig_vxworks.c:2868:22: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
instid = (void*)isSTMFD_LR;
^
finsig_vxworks.c:2880:17: warning: ISO C forbids passing argument 2 of 'find_Nth_inst_rev' between function pointer and 'void *' [-Wpedantic]
int j2 = find_Nth_inst_rev(fw,instid,j1-1,sig->offset,ninst);
^
In file included from finsig_vxworks.c:10:0:
firmware_load.h:162:5: note: expected 'int (*)(struct firmware *, int)' but argument is of type 'void *'
int find_Nth_inst_rev(firmware *fw, int (*inst)(firmware*,int), int idx, int len, int N);
^
finsig_vxworks.c: In function 'find_strsig':
finsig_vxworks.c:2925:44: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
case 21: return fw_process(fw, sig, (int (*)(firmware*, string_sig*, int))(sig->ev_name));
^
finsig_vxworks.c:2926:25: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
case 22: return ((int (*)(firmware*))(sig->ev_name))(fw);
^
finsig_vxworks.c: In function 'find_str_sig_matches':
finsig_vxworks.c:2964:46: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
qsort(matches, count, sizeof(Match), (void*)match_compare);
^
finsig_vxworks.c:2964:9: warning: ISO C forbids passing argument 4 of 'qsort' between function pointer and 'void *' [-Wpedantic]
qsort(matches, count, sizeof(Match), (void*)match_compare);
^
In file included from finsig_vxworks.c:1:0:
d:\hostluaportable\chdk-shell\trunk\gcc1011\include\stdlib.h:370:22: note: expected 'int (*)(const void *, const void *)' but argument is of type 'void *'
_CRTIMP void __cdecl qsort(void*, size_t, size_t,
^
finsig_vxworks.c: In function 'find_matches':
finsig_vxworks.c:3142:46: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
qsort(matches, count, sizeof(Match), (void*)match_compare);
^
finsig_vxworks.c:3142:9: warning: ISO C forbids passing argument 4 of 'qsort' between function pointer and 'void *' [-Wpedantic]
qsort(matches, count, sizeof(Match), (void*)match_compare);
^
In file included from finsig_vxworks.c:1:0:
d:\hostluaportable\chdk-shell\trunk\gcc1011\include\stdlib.h:370:22: note: expected 'int (*)(const void *, const void *)' but argument is of type 'void *'
_CRTIMP void __cdecl qsort(void*, size_t, size_t,
^
finsig_vxworks.c: In function 'print_kmvals':
finsig_vxworks.c:5451:44: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
qsort(key_info, kcount, sizeof(kinfo), (void*)kinfo_compare);
^
finsig_vxworks.c:5451:5: warning: ISO C forbids passing argument 4 of 'qsort' between function pointer and 'void *' [-Wpedantic]
qsort(key_info, kcount, sizeof(kinfo), (void*)kinfo_compare);
^
In file included from finsig_vxworks.c:1:0:
d:\hostluaportable\chdk-shell\trunk\gcc1011\include\stdlib.h:370:22: note: expected 'int (*)(const void *, const void *)' but argument is of type 'void *'
_CRTIMP void __cdecl qsort(void*, size_t, size_t,
^
finsig_vxworks.c: In function 'write_funcs':
finsig_vxworks.c:6187:54: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
qsort(fns, next_func_entry, sizeof(func_entry*), (void*)compare);
^
finsig_vxworks.c:6187:5: warning: ISO C forbids passing argument 4 of 'qsort' between function pointer and 'void *' [-Wpedantic]
qsort(fns, next_func_entry, sizeof(func_entry*), (void*)compare);
^
In file included from finsig_vxworks.c:1:0:
d:\hostluaportable\chdk-shell\trunk\gcc1011\include\stdlib.h:370:22: note: expected 'int (*)(const void *, const void *)' but argument is of type 'void *'
_CRTIMP void __cdecl qsort(void*, size_t, size_t,
^
stubs_load.c: In function 'add_sig':
stubs_load.c:99:3: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'uint32_t *' [-Wformat=]
sscanf(val,"%d",&v);
^
finsig_dryos.c:2950:30: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
{ 21, "add_ptp_handler", (char*)find_add_ptp_handler, 0 },
^
finsig_dryos.c:2951:22: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
{ 21, "apex2us", (char*)find_apex2us, 0 },
...