Displaying 1 result from an estimated 1 matches for "type_xlate_print".
2019 Apr 07
1
[Bug 1333] New: 1.8.2: build fails with gcc 9
...-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -o
libipt_icmp.oo -c libipt_icmp.c;
libipt_icmp.c: In function ‘type_xlate_print’:
libipt_icmp.c:239:5: error: format not a string literal and no format arguments
[-Werror=format-security]
239 | xt_xlate_add(xl, icmp_codes[i].name);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [GNUmakefile:107: libipt_icmp.oo] Error 1
gcc -D_LARGEFILE_S...