Building SDCC used to be quite clean, but the current state is pretty bad IMHO.
In file included from /usr/include/string.h:495,
from sdcdb.h:47,
from sdcdb.c:24:
In function ‘strncpy’,
inlined from ‘readCdb’ at sdcdb.c:418:11,
inlined from ‘cmdFile’ at sdcdb.c:816:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdcdb.c: In function ‘cmdFile’:
sdcdb.c:418:36: note: length computed here
418 | strncpy(currl->line, bp, strlen(bp)-1);
| ^~~~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
lkmem.c: In function ‘summary’:
lkmem.c:366:37: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 127 [-Wformat-overflow=]
366 | sprintf(buff, "'%s'\n", Ram[j].Name);
| ^~
In file included from /usr/include/stdio.h:867,
from lkmem.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 4099 bytes into a destination of size 128
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lkmem.c:372:33: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 127 [-Wformat-overflow=]
372 | sprintf(buff, "'%s'\n", IRam.Name);
| ^~ ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from lkmem.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 4099 bytes into a destination of size 128
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lksdcclib.c: In function ‘buildlibraryindex_sdcclib’:
lksdcclib.c:151:37: warning: ‘%s’ directive writing 3 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
151 | sprintf (buff, "%s%s%c%s", lbnh->path, ModName, FSEPX, LKOBJEXT);
| ^~
In file included from /usr/include/stdio.h:867,
from lk_readnl.h:31,
from lksdcclib.c:36:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 4100) into a destination of size 4096
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
from aslink.h:35,
from lklist.c:34:
In function ‘strncpy’,
inlined from ‘lkalist’ at lklist.c:985:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying between 4 and 11 bytes from a string of length 15 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘lkglist’ at lklist.c:1264:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying between 3 and 4 bytes from a string of length 15 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘lkglist’ at lklist.c:1274:25:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying between 4 and 11 bytes from a string of length 15 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmdpars.y: waarschuwing: 55 shift/reductie-conflicten [-Wconflicts-sr]
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
ds8mch.c: In function ‘machine’:
ds8mch.c:147:32: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=]
147 | sprintf(id, "__%s", str);
| ^~
In file included from /usr/include/stdio.h:867,
from ./../asxxsrc/asxxxx.h:68,
from ds8mch.c:34:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ds8mch.c:156:35: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 59 [-Wformat-overflow=]
156 | sprintf(buff, "%s %s", DS_CPU, str);
| ^~
In file included from /usr/include/stdio.h:867,
from ./../asxxsrc/asxxxx.h:68,
from ds8mch.c:34:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 22 and 1045 bytes into a destination of size 80
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: In function ‘nxtline’:
../asxxsrc/aslex.c:793:2: warning: implicit declaration of function ‘chopcrlf’ [-Wimplicit-function-declaration]
793 | chopcrlf(ib);
| ^~~~~~~~
../asxxsrc/aslex.c: At top level:
../asxxsrc/aslex.c:1150:1: warning: conflicting types for ‘chopcrlf’
1150 | chopcrlf(char *str)
| ^~~~~~~~
../asxxsrc/aslex.c:793:2: note: previous implicit declaration of ‘chopcrlf’ was here
793 | chopcrlf(ib);
| ^~~~~~~~
In file included from /usr/include/string.h:495,
from ./dyn-string.c:38:
In function ‘strncpy’,
inlined from ‘dyn_string_insert_cstr’ at ./dyn-string.c:280:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dyn-string.c: In function ‘dyn_string_insert_cstr’:
./dyn-string.c:272:16: note: length computed here
272 | int length = strlen (src);
| ^~~~~~~~~~~~
In file included from asxxxx.c:84:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
asxxxx.c:1136:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1136 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
asxxxx.c:1037:42: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
1037 | #define asxxxx_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘asxxxx_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
asxxxx.c:1064:54: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
1064 | #define asxxxx_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘asxxxx_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from asxxxx.c:84:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
asxxxx.c:1066:53: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
1066 | #define asxxxx_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘asxxxx_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
asxxxx.c:1067:53: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
1067 | #define asxxxx_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘asxxxx_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
asxxxx.c:1060:53: note: in expansion of macro ‘_bfd_nosymbols_find_line’
1060 | #define asxxxx_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘asxxxx_find_line’
7530 | NAME##_find_line, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
asxxxx.c:1068:53: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
1068 | #define asxxxx_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘asxxxx_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
asxxxx.c:1070:53: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
1070 | #define asxxxx_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘asxxxx_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
asxxxx.c:1139:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1139 | BFD_JUMP_TABLE_SYMBOLS (asxxxx),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
asxxxx.c:1140:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1140 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
asxxxx.c:1140:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1140 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
asxxxx.c:1143:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1143 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
asxxxx.c:1143:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1143 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
asxxxx.c:1143:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1143 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from binary.c:38:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
binary.c:362:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
362 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
binary.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
364 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:415:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)’ {aka ‘void (*)(struct bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)’} [-Wcast-function-type]
415 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)
| ^
binary.c:192:35: note: in expansion of macro ‘_bfd_nosymbols_print_symbol’
192 | #define binary_print_symbol _bfd_nosymbols_print_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7523:3: note: in expansion of macro ‘binary_print_symbol’
7523 | NAME##_print_symbol, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
binary.c:194:3: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
194 | _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘binary_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
binary.c:214:46: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
214 | #define binary_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘binary_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from binary.c:38:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
binary.c:207:31: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
207 | #define binary_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘binary_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
binary.c:208:37: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
208 | #define binary_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘binary_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
binary.c:209:30: note: in expansion of macro ‘_bfd_nosymbols_find_line’
209 | #define binary_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘binary_find_line’
7530 | NAME##_find_line, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
binary.c:210:37: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
210 | #define binary_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘binary_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
binary.c:211:41: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
211 | #define binary_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘binary_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
binary.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
365 | BFD_JUMP_TABLE_SYMBOLS (binary),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
binary.c:366:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
366 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
binary.c:366:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
366 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
binary.c:369:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
369 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
binary.c:369:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
369 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
binary.c:369:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
369 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ihex.c:124:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
ihex.c:995:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
995 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
ihex.c:997:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
997 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
ihex.c:922:38: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
922 | #define ihex_canonicalize_symtab ((long (*) (bfd *, asymbol **)) bfd_0l)
| ^
bfd.h:7521:3: note: in expansion of macro ‘ihex_canonicalize_symtab’
7521 | NAME##_canonicalize_symtab, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ihex.c:124:
libbfd.h:415:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)’ {aka ‘void (*)(struct bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)’} [-Wcast-function-type]
415 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)
| ^
ihex.c:924:31: note: in expansion of macro ‘_bfd_nosymbols_print_symbol’
924 | #define ihex_print_symbol _bfd_nosymbols_print_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7523:3: note: in expansion of macro ‘ihex_print_symbol’
7523 | NAME##_print_symbol, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:417:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, asymbol *, symbol_info *)’ {aka ‘void (*)(struct bfd *, struct bfd_symbol *, struct _symbol_info *)’} [-Wcast-function-type]
417 | ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void)
| ^
ihex.c:925:34: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_info’
925 | #define ihex_get_symbol_info _bfd_nosymbols_get_symbol_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7524:3: note: in expansion of macro ‘ihex_get_symbol_info’
7524 | NAME##_get_symbol_info, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
ihex.c:926:43: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
926 | #define ihex_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘ihex_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:421:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char *)’ {aka ‘int (*)(struct bfd *, const char *)’} [-Wcast-function-type]
421 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false)
| ^
ihex.c:928:41: note: in expansion of macro ‘_bfd_nosymbols_bfd_is_local_label_name’
928 | #define ihex_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7526:3: note: in expansion of macro ‘ihex_bfd_is_local_label_name’
7526 | NAME##_bfd_is_local_label_name, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
ihex.c:927:46: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
927 | #define ihex_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘ihex_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ihex.c:124:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
ihex.c:929:30: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
929 | #define ihex_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘ihex_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
ihex.c:930:36: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
930 | #define ihex_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘ihex_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
ihex.c:931:29: note: in expansion of macro ‘_bfd_nosymbols_find_line’
931 | #define ihex_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘ihex_find_line’
7530 | NAME##_find_line, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
ihex.c:932:36: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
932 | #define ihex_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘ihex_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
ihex.c:933:39: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
933 | #define ihex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘ihex_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:441:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, bfd_boolean, void **, unsigned int *)’ {aka ‘long int (*)(struct bfd *, int, void **, unsigned int *)’} [-Wcast-function-type]
441 | ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1)
| ^
ihex.c:934:35: note: in expansion of macro ‘_bfd_nosymbols_read_minisymbols’
934 | #define ihex_read_minisymbols _bfd_nosymbols_read_minisymbols
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7533:3: note: in expansion of macro ‘ihex_read_minisymbols’
7533 | NAME##_read_minisymbols, \
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:443:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, bfd_boolean, const void *, asymbol *)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, int, const void *, struct bfd_symbol *)’} [-Wcast-function-type]
443 | ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \
| ^
ihex.c:935:38: note: in expansion of macro ‘_bfd_nosymbols_minisymbol_to_symbol’
935 | #define ihex_minisymbol_to_symbol _bfd_nosymbols_minisymbol_to_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7534:3: note: in expansion of macro ‘ihex_minisymbol_to_symbol’
7534 | NAME##_minisymbol_to_symbol
| ^~~~
ihex.c:998:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
998 | BFD_JUMP_TABLE_SYMBOLS (ihex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
ihex.c:999:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
999 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
ihex.c:999:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
999 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
ihex.c:1002:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1002 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
ihex.c:1002:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1002 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
ihex.c:1002:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1002 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from tekhex.c:71:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
tekhex.c:1036:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1036 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
tekhex.c:1038:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1038 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
tekhex.c:971:46: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
971 | #define tekhex_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘tekhex_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
tekhex.c:965:46: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
965 | #define tekhex_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘tekhex_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from tekhex.c:71:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
tekhex.c:967:33: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
967 | #define tekhex_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘tekhex_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
tekhex.c:968:39: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
968 | #define tekhex_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘tekhex_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
tekhex.c:969:32: note: in expansion of macro ‘_bfd_nosymbols_find_line’
969 | #define tekhex_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘tekhex_find_line’
7530 | NAME##_find_line, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
tekhex.c:970:39: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
970 | #define tekhex_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘tekhex_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
tekhex.c:972:43: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
972 | #define tekhex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘tekhex_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
tekhex.c:1039:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1039 | BFD_JUMP_TABLE_SYMBOLS (tekhex),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
tekhex.c:1040:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1040 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
tekhex.c:1040:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1040 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
tekhex.c:1043:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1043 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
tekhex.c:1043:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1043 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
tekhex.c:1043:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1043 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from verilog.c:57:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
verilog.c:361:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
361 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
verilog.c:363:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
363 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:412:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
412 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7521:3: note: in expansion of macro ‘_bfd_nosymbols_canonicalize_symtab’
7521 | NAME##_canonicalize_symtab, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:415:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)’ {aka ‘void (*)(struct bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)’} [-Wcast-function-type]
415 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)
| ^
bfd.h:7523:3: note: in expansion of macro ‘_bfd_nosymbols_print_symbol’
7523 | NAME##_print_symbol, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:417:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, asymbol *, symbol_info *)’ {aka ‘void (*)(struct bfd *, struct bfd_symbol *, struct _symbol_info *)’} [-Wcast-function-type]
417 | ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void)
| ^
bfd.h:7524:3: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_info’
7524 | NAME##_get_symbol_info, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
bfd.h:7525:3: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:421:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char *)’ {aka ‘int (*)(struct bfd *, const char *)’} [-Wcast-function-type]
421 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false)
| ^
bfd.h:7526:3: note: in expansion of macro ‘_bfd_nosymbols_bfd_is_local_label_name’
7526 | NAME##_bfd_is_local_label_name, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:423:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
423 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘_bfd_nosymbols_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
bfd.h:7528:3: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
bfd.h:7529:3: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
bfd.h:7530:3: note: in expansion of macro ‘_bfd_nosymbols_find_line’
7530 | NAME##_find_line, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
bfd.h:7531:3: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
bfd.h:7532:3: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:441:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, bfd_boolean, void **, unsigned int *)’ {aka ‘long int (*)(struct bfd *, int, void **, unsigned int *)’} [-Wcast-function-type]
441 | ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1)
| ^
bfd.h:7533:3: note: in expansion of macro ‘_bfd_nosymbols_read_minisymbols’
7533 | NAME##_read_minisymbols, \
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:443:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, bfd_boolean, const void *, asymbol *)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, int, const void *, struct bfd_symbol *)’} [-Wcast-function-type]
443 | ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \
| ^
bfd.h:7534:3: note: in expansion of macro ‘_bfd_nosymbols_minisymbol_to_symbol’
7534 | NAME##_minisymbol_to_symbol
| ^~~~
verilog.c:364:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
364 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
verilog.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
365 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
verilog.c:365:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
365 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:480:4: warning: cast between incompatible function types from ‘int (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘int (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
480 | ((int (*) (bfd *, struct bfd_link_info *)) bfd_0)
| ^
bfd.h:7607:3: note: in expansion of macro ‘_bfd_nolink_sizeof_headers’
7607 | NAME##_sizeof_headers, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:482:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd_byte * (*)(bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, bfd_boolean, asymbol **)’ {aka ‘unsigned char * (*)(struct bfd *, struct bfd_link_info *, struct bfd_link_order *, unsigned char *, int, struct bfd_symbol **)’} [-Wcast-function-type]
482 | ((bfd_byte *(*) (bfd *, struct bfd_link_info *, struct bfd_link_order *, \
| ^
bfd.h:7608:3: note: in expansion of macro ‘_bfd_nolink_bfd_get_relocated_section_contents’
7608 | NAME##_bfd_get_relocated_section_contents, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:486:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, struct bfd_link_info *, bfd_boolean *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd_link_info *, int *)’} [-Wcast-function-type]
486 | ((bfd_boolean (*) \
| ^
bfd.h:7609:3: note: in expansion of macro ‘_bfd_nolink_bfd_relax_section’
7609 | NAME##_bfd_relax_section, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:507:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
507 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
| ^
bfd.h:7611:3: note: in expansion of macro ‘_bfd_nolink_bfd_link_add_symbols’
7611 | NAME##_bfd_link_add_symbols, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:509:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(asection *, struct bfd_link_info *)’ {aka ‘void (*)(struct bfd_section *, struct bfd_link_info *)’} [-Wcast-function-type]
509 | ((void (*) (asection *, struct bfd_link_info *)) bfd_void)
| ^
bfd.h:7612:3: note: in expansion of macro ‘_bfd_nolink_bfd_link_just_syms’
7612 | NAME##_bfd_link_just_syms, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:511:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *)’ {aka ‘void (*)(struct bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *)’} [-Wcast-function-type]
511 | ((void (*) (bfd *, struct bfd_link_hash_entry *, \
| ^
bfd.h:7613:3: note: in expansion of macro ‘_bfd_nolink_bfd_copy_link_hash_symbol_type’
7613 | NAME##_bfd_copy_link_hash_symbol_type, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:514:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
514 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
| ^
bfd.h:7614:3: note: in expansion of macro ‘_bfd_nolink_bfd_final_link’
7614 | NAME##_bfd_final_link, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:516:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_section *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
516 | ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false)
| ^
bfd.h:7615:3: note: in expansion of macro ‘_bfd_nolink_bfd_link_split_section’
7615 | NAME##_bfd_link_split_section, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:490:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
490 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
| ^
bfd.h:7617:3: note: in expansion of macro ‘_bfd_nolink_bfd_gc_sections’
7617 | NAME##_bfd_gc_sections, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:493:4: warning: cast between incompatible function types from ‘int (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(struct bfd_link_info *, struct flag_info *, asection *)’ {aka ‘int (*)(struct bfd_link_info *, struct flag_info *, struct bfd_section *)’} [-Wcast-function-type]
493 | ((bfd_boolean (*) (struct bfd_link_info *, struct flag_info *, asection *)) \
| ^
bfd.h:7618:3: note: in expansion of macro ‘_bfd_nolink_bfd_lookup_section_flags’
7618 | NAME##_bfd_lookup_section_flags, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:496:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
496 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
| ^
bfd.h:7619:3: note: in expansion of macro ‘_bfd_nolink_bfd_merge_sections’
7619 | NAME##_bfd_merge_sections, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:499:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const struct bfd_section *)’ {aka ‘int (*)(struct bfd *, const struct bfd_section *)’} [-Wcast-function-type]
499 | ((bfd_boolean (*) (bfd *, const struct bfd_section *)) \
| ^
bfd.h:7620:3: note: in expansion of macro ‘_bfd_nolink_bfd_is_group_section’
7620 | NAME##_bfd_is_group_section, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:502:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_section *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
502 | ((bfd_boolean (*) (bfd *, struct bfd_section *)) \
| ^
bfd.h:7621:3: note: in expansion of macro ‘_bfd_nolink_bfd_discard_group’
7621 | NAME##_bfd_discard_group, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:518:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd_link_info *)’} [-Wcast-function-type]
518 | ((bfd_boolean (*) (bfd *, asection *, \
| ^
bfd.h:7622:3: note: in expansion of macro ‘_bfd_nolink_section_already_linked’
7622 | NAME##_section_already_linked, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:521:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *)’} [-Wcast-function-type]
521 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *, \
| ^
bfd.h:7623:3: note: in expansion of macro ‘_bfd_nolink_bfd_define_common_symbol’
7623 | NAME##_bfd_define_common_symbol, \
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:524:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘struct bfd_link_hash_entry * (*)(struct bfd_link_info *, const char *, asection *)’ {aka ‘struct bfd_link_hash_entry * (*)(struct bfd_link_info *, const char *, struct bfd_section *)’} [-Wcast-function-type]
524 | ((struct bfd_link_hash_entry * (*) (struct bfd_link_info *, \
| ^
bfd.h:7624:3: note: in expansion of macro ‘_bfd_nolink_bfd_define_start_stop’
7624 | NAME##_bfd_define_start_stop
| ^~~~
verilog.c:367:3: note: in expansion of macro ‘BFD_JUMP_TABLE_LINK’
367 | BFD_JUMP_TABLE_LINK (_bfd_nolink),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
verilog.c:368:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
368 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
verilog.c:368:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
368 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
verilog.c:368:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
368 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from srec.c:106:
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
srec.c:1332:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1332 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
srec.c:1334:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1334 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
srec.c:1267:43: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
1267 | #define srec_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘srec_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
srec.c:1260:46: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
1260 | #define srec_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘srec_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from srec.c:106:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
srec.c:1262:30: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
1262 | #define srec_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘srec_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
srec.c:1263:36: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
1263 | #define srec_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘srec_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
srec.c:1264:29: note: in expansion of macro ‘_bfd_nosymbols_find_line’
1264 | #define srec_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘srec_find_line’
7530 | NAME##_find_line, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
srec.c:1265:36: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
1265 | #define srec_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘srec_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
srec.c:1268:39: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
1268 | #define srec_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘srec_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
srec.c:1335:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1335 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
srec.c:1336:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1336 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
srec.c:1336:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1336 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
srec.c:1339:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1339 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
srec.c:1339:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1339 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
srec.c:1339:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1339 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:268:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
268 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7435:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_bfd_data’
7435 | NAME##_bfd_copy_private_bfd_data, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
bfd.h:7436:3: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:274:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asection *, bfd *, asection *)’ {aka ‘int (*)(struct bfd *, struct bfd_section *, struct bfd *, struct bfd_section *)’} [-Wcast-function-type]
274 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
| ^
bfd.h:7438:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_section_data’
7438 | NAME##_bfd_copy_private_section_data, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:276:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *, struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
276 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
| ^
bfd.h:7439:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_symbol_data’
7439 | NAME##_bfd_copy_private_symbol_data, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
bfd.h:7440:3: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
bfd.h:7441:3: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:280:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, void *)’ {aka ‘int (*)(struct bfd *, void *)’} [-Wcast-function-type]
280 | ((bfd_boolean (*) (bfd *, void *)) bfd_true)
| ^
bfd.h:7442:3: note: in expansion of macro ‘_bfd_generic_bfd_print_private_bfd_data’
7442 | NAME##_bfd_print_private_bfd_data
| ^~~~
srec.c:1388:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
1388 | BFD_JUMP_TABLE_COPY (_bfd_generic),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:303:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)’ {aka ‘int (*)(struct bfd *, char **, long unsigned int *, const char **)’} [-Wcast-function-type]
303 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
| ^
bfd.h:7491:3: note: in expansion of macro ‘_bfd_noarchive_construct_extended_name_table’
7491 | NAME##_construct_extended_name_table, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:306:4: warning: cast between incompatible function types from ‘void (*)(bfd *)’ {aka ‘void (*)(struct bfd *)’} to ‘void (*)(bfd *, const char *, char *)’ {aka ‘void (*)(struct bfd *, const char *, char *)’} [-Wcast-function-type]
306 | ((void (*) (bfd *, const char *, char *)) bfd_void)
| ^
bfd.h:7492:3: note: in expansion of macro ‘_bfd_noarchive_truncate_arname’
7492 | NAME##_truncate_arname, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:308:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)’ {aka ‘int (*)(struct bfd *, unsigned int, struct orl *, unsigned int, int)’} [-Wcast-function-type]
308 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
| ^
bfd.h:7493:3: note: in expansion of macro ‘_bfd_noarchive_write_armap’
7493 | NAME##_write_armap, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:312:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
312 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
| ^
bfd.h:7495:3: note: in expansion of macro ‘_bfd_noarchive_write_ar_hdr’
7495 | NAME##_write_ar_hdr, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:314:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, bfd *)’ {aka ‘struct bfd * (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
314 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
| ^
bfd.h:7496:3: note: in expansion of macro ‘_bfd_noarchive_openr_next_archived_file’
7496 | NAME##_openr_next_archived_file, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:316:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘bfd * (*)(bfd *, symindex)’ {aka ‘struct bfd * (*)(struct bfd *, long unsigned int)’} [-Wcast-function-type]
316 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
| ^
bfd.h:7497:3: note: in expansion of macro ‘_bfd_noarchive_get_elt_at_index’
7497 | NAME##_get_elt_at_index, \
| ^~~~
srec.c:1390:3: note: in expansion of macro ‘BFD_JUMP_TABLE_ARCHIVE’
1390 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
srec.c:1267:43: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
1267 | #define srec_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘srec_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
srec.c:1260:46: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
1260 | #define srec_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘srec_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from srec.c:106:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
srec.c:1262:30: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
1262 | #define srec_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘srec_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
srec.c:1263:36: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
1263 | #define srec_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘srec_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
srec.c:1264:29: note: in expansion of macro ‘_bfd_nosymbols_find_line’
1264 | #define srec_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘srec_find_line’
7530 | NAME##_find_line, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
srec.c:1265:36: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
1265 | #define srec_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘srec_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
srec.c:1268:39: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
1268 | #define srec_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘srec_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
srec.c:1391:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
1391 | BFD_JUMP_TABLE_SYMBOLS (srec),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
srec.c:1392:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1392 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
srec.c:1392:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
1392 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
srec.c:1395:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1395 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
srec.c:1395:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1395 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
srec.c:1395:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
1395 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from plugin.c:37:
libbfd.h:270:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, struct bfd_link_info *)’ {aka ‘int (*)(struct bfd *, struct bfd_link_info *)’} [-Wcast-function-type]
270 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
| ^
plugin.c:78:53: note: in expansion of macro ‘_bfd_generic_bfd_merge_private_bfd_data’
78 | #define bfd_plugin_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7436:3: note: in expansion of macro ‘bfd_plugin_bfd_merge_private_bfd_data’
7436 | NAME##_bfd_merge_private_bfd_data, \
| ^~~~
plugin.c:610:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
610 | BFD_JUMP_TABLE_COPY (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:278:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, bfd *)’ {aka ‘int (*)(struct bfd *, struct bfd *)’} [-Wcast-function-type]
278 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
| ^
plugin.c:79:55: note: in expansion of macro ‘_bfd_generic_bfd_copy_private_header_data’
79 | #define bfd_plugin_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7440:3: note: in expansion of macro ‘bfd_plugin_bfd_copy_private_header_data’
7440 | NAME##_bfd_copy_private_header_data, \
| ^~~~
plugin.c:610:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
610 | BFD_JUMP_TABLE_COPY (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:272:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, flagword)’ {aka ‘int (*)(struct bfd *, unsigned int)’} [-Wcast-function-type]
272 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
| ^
plugin.c:80:48: note: in expansion of macro ‘_bfd_generic_bfd_set_private_flags’
80 | #define bfd_plugin_bfd_set_private_flags _bfd_generic_bfd_set_private_flags
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7441:3: note: in expansion of macro ‘bfd_plugin_bfd_set_private_flags’
7441 | NAME##_bfd_set_private_flags, \
| ^~~~
plugin.c:610:3: note: in expansion of macro ‘BFD_JUMP_TABLE_COPY’
610 | BFD_JUMP_TABLE_COPY (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~
libbfd.h:419:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const char * (*)(bfd *, asymbol *, bfd_boolean *)’ {aka ‘const char * (*)(struct bfd *, struct bfd_symbol *, int *)’} [-Wcast-function-type]
419 | ((const char *(*) (bfd *, asymbol *, bfd_boolean *)) bfd_nullvoidptr)
| ^
plugin.c:88:52: note: in expansion of macro ‘_bfd_nosymbols_get_symbol_version_string’
88 | #define bfd_plugin_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7525:3: note: in expansion of macro ‘bfd_plugin_get_symbol_version_string’
7525 | NAME##_get_symbol_version_string, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:421:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char *)’ {aka ‘int (*)(struct bfd *, const char *)’} [-Wcast-function-type]
421 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false)
| ^
plugin.c:82:50: note: in expansion of macro ‘_bfd_nosymbols_bfd_is_local_label_name’
82 | #define bfd_plugin_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7526:3: note: in expansion of macro ‘bfd_plugin_bfd_is_local_label_name’
7526 | NAME##_bfd_is_local_label_name, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
plugin.c:83:56: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
83 | #define bfd_plugin_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
| ^
bfd.h:7527:3: note: in expansion of macro ‘bfd_plugin_bfd_is_target_special_symbol’
7527 | NAME##_bfd_is_target_special_symbol, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from plugin.c:37:
libbfd.h:425:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘alent * (*)(bfd *, asymbol *)’ {aka ‘struct lineno_cache_entry * (*)(struct bfd *, struct bfd_symbol *)’} [-Wcast-function-type]
425 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
| ^
plugin.c:84:39: note: in expansion of macro ‘_bfd_nosymbols_get_lineno’
84 | #define bfd_plugin_get_lineno _bfd_nosymbols_get_lineno
| ^~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7528:3: note: in expansion of macro ‘bfd_plugin_get_lineno’
7528 | NAME##_get_lineno, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:427:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_section *, long unsigned int, const char **, const char **, unsigned int *, unsigned int *)’} [-Wcast-function-type]
427 | ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
| ^
plugin.c:85:45: note: in expansion of macro ‘_bfd_nosymbols_find_nearest_line’
85 | #define bfd_plugin_find_nearest_line _bfd_nosymbols_find_nearest_line
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7529:3: note: in expansion of macro ‘bfd_plugin_find_nearest_line’
7529 | NAME##_find_nearest_line, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:432:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, asymbol **, asymbol *, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *)’} [-Wcast-function-type]
432 | ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
| ^
plugin.c:86:38: note: in expansion of macro ‘_bfd_nosymbols_find_line’
86 | #define bfd_plugin_find_line _bfd_nosymbols_find_line
| ^~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7530:3: note: in expansion of macro ‘bfd_plugin_find_line’
7530 | NAME##_find_line, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:436:4: warning: cast between incompatible function types from ‘bfd_boolean (*)(bfd *)’ {aka ‘int (*)(struct bfd *)’} to ‘bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)’ {aka ‘int (*)(struct bfd *, const char **, const char **, unsigned int *)’} [-Wcast-function-type]
436 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
| ^
plugin.c:87:45: note: in expansion of macro ‘_bfd_nosymbols_find_inliner_info’
87 | #define bfd_plugin_find_inliner_info _bfd_nosymbols_find_inliner_info
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7531:3: note: in expansion of macro ‘bfd_plugin_find_inliner_info’
7531 | NAME##_find_inliner_info, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:439:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘asymbol * (*)(bfd *, void *, long unsigned int)’ {aka ‘struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)’} [-Wcast-function-type]
439 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
plugin.c:89:48: note: in expansion of macro ‘_bfd_nosymbols_bfd_make_debug_symbol’
89 | #define bfd_plugin_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfd.h:7532:3: note: in expansion of macro ‘bfd_plugin_bfd_make_debug_symbol’
7532 | NAME##_bfd_make_debug_symbol, \
| ^~~~
plugin.c:617:3: note: in expansion of macro ‘BFD_JUMP_TABLE_SYMBOLS’
617 | BFD_JUMP_TABLE_SYMBOLS (bfd_plugin),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:455:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, enum bfd_reloc_code_real)’} [-Wcast-function-type]
455 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
| ^
bfd.h:7582:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_type_lookup’
7582 | NAME##_bfd_reloc_type_lookup, \
| ^~~~
plugin.c:618:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
618 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:457:4: warning: cast between incompatible function types from ‘void * (*)(bfd *)’ {aka ‘void * (*)(struct bfd *)’} to ‘const reloc_howto_type * (*)(bfd *, const char *)’ {aka ‘const struct reloc_howto_struct * (*)(struct bfd *, const char *)’} [-Wcast-function-type]
457 | ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
| ^
bfd.h:7583:3: note: in expansion of macro ‘_bfd_norelocs_bfd_reloc_name_lookup’
7583 | NAME##_bfd_reloc_name_lookup
| ^~~~
plugin.c:618:3: note: in expansion of macro ‘BFD_JUMP_TABLE_RELOCS’
618 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
| ^~~~~~~~~~~~~~~~~~~~~
libbfd.h:535:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct bfd_symbol **)’} [-Wcast-function-type]
535 | ((long (*) (bfd *, asymbol **)) _bfd_n1)
| ^
bfd.h:7698:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_symtab’
7698 | NAME##_canonicalize_dynamic_symtab, \
| ^~~~
plugin.c:621:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
621 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:537:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)’ {aka ‘long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)’} [-Wcast-function-type]
537 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
| ^
bfd.h:7699:3: note: in expansion of macro ‘_bfd_nodynamic_get_synthetic_symtab’
7699 | NAME##_get_synthetic_symtab, \
| ^~~~
plugin.c:621:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
621 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
libbfd.h:540:4: warning: cast between incompatible function types from ‘long int (*)(bfd *)’ {aka ‘long int (*)(struct bfd *)’} to ‘long int (*)(bfd *, arelent **, asymbol **)’ {aka ‘long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)’} [-Wcast-function-type]
540 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
| ^
bfd.h:7701:3: note: in expansion of macro ‘_bfd_nodynamic_canonicalize_dynamic_reloc’
7701 | NAME##_canonicalize_dynamic_reloc
| ^~~~
plugin.c:621:3: note: in expansion of macro ‘BFD_JUMP_TABLE_DYNAMIC’
621 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
| ^~~~~~~~~~~~~~~~~~~~~~
/home/maarten/sdcc/support/sdbinutils/binutils/sysinfo.y: waarschuwing: 1 shift/reductie-conflict [-Wconflicts-sr]
/home/maarten/sdcc/support/sdbinutils/binutils/mcparse.y: waarschuwing: 1 shift/reductie-conflict [-Wconflicts-sr]
/home/maarten/sdcc/support/sdbinutils/binutils/defparse.y: waarschuwing: 27 shift/reductie-conflicten [-Wconflicts-sr]
/home/maarten/sdcc/support/sdbinutils/binutils/rcparse.y: waarschuwing: 58 shift/reductie-conflicten [-Wconflicts-sr]
/home/maarten/sdcc/support/sdbinutils/binutils/rcparse.y: waarschuwing: 10 reductie/reductie-conflicten [-Wconflicts-rr]
In file included from /usr/include/stdio.h:867,
from sysdep.h:25,
from wrstabs.c:25:
In function ‘sprintf’,
inlined from ‘stab_start_class_type’ at wrstabs.c:1476:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
from makebin.c:31:
In function ‘strncpy’,
inlined from ‘main’ at makebin.c:819:15:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2 equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SDCC.y:73.1-7: waarschuwing: POSIX Yacc ondersteunt %expect niet [-Wyacc]
73 | %expect 11
| ^~~~~~~
In file included from /usr/include/string.h:495,
from SDCC.y:27:
In function ‘strncpy’,
inlined from ‘yyparse’ at SDCC.y:2097:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 252 bytes from a string of length 256 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘yyparse’ at SDCC.y:2071:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 252 bytes from a string of length 256 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen.c: In function ‘opInfo’:
gen.c:318:23: warning: ‘%s’ directive output may be truncated writing up to 768 bytes into a region of size 60 [-Wformat-truncation=]
318 | snprintf(str, 64, "SYM:%s(%s:%d)",
| ^~~~~~~~~~~~~~~
gen.c:318:23: note: directive argument in the range [-32768, 32767]
In file included from /usr/include/stdio.h:867,
from ./../common.h:21,
from ralloc.h:29,
from gen.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 782 bytes into a destination of size 64
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is on a standard Ubuntu 20.04 LTS with bison 3.5.1, flex 2.6.4, and gcc 9.4.0.
But using the newer bison 3.8.2 doesn't much improve things.
Looks to me like most of these warnings are inherited from upstream asxxxx and binutils.
For the latter, I already noticed those warnings, and opened a feature request [feature-requests:#766] since updating to a newer upstream binutils tends to help.
Related
Feature Requests:
#766Last edit: Philipp Klaus Krause 2022-03-24
ASxxxx 5.40 has a clean build with
-Wall, so these are either old issues long fixed in upstream or issues we introduced with our extensions or issues introduced by partial backporting of features.I will check through the issues of ASxxxx
[r13156] fixes all warnings that
make sdcc-as -Breported.asxxxx.cis from binutils.Related
Commit: [r13156]