Hi David, same was seen on regression tests, but only with gcc 8.5 on EL8 Can you check your major and minor gcc version. Potentially this condition need to be extended: https://github.com/pbiering/ipv6calc/blob/7b514edc9194958dc553fc3b989150fce4... Hope this helps, Peter Am 30.01.25 um 17:18 schrieb David Niklas:
Hello, I'm trying to build ipv6calc on Devuan (Debian Bullseye (11.1)) Linux. Baring the possibility that there is a problem on my end, I cannot get it to compile.
I get many errors like these: libipv6calc.h:105:25: error: 'strncat' specified bound 18446744073709551613 exce eds destination size 1024 [-Werror=stringop-overflow=] 105 | strncat(dst, src, ((sizeof(dst) - strlen(dst) - strlen("...") - 1) > 0) ? (sizeof(dst) - strlen(dst) - strlen("...") - 1) : 0); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ librfc1884.c:254:5: note: in expansion of macro 'STRCAT' 254 | STRCAT(tempstring, ":"); | ^~~~~~
I have attached the build log.
Thanks, David