Hello Xlog people,

I was able to successfully build and run Xlog-2.0.21 on Ubuntu 20.04 without 
any issues, however the latest build 2.0.-22 fails during the make with the 
following (see below). Any suggestions? 73's de Oscar (N6PAZ).

_64-linux-gnu/glib-2.0/include -g -O2 -Werror -Wno-deprecated-declarations 
-Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT adif3.o -MD -MP 
-MF .deps/adif3.Tpo -c -o adif3.o adif3.c
In file included from /usr/include/string.h:495,
from adif3.c:34:
In function ‘strncpy’,
inlined from ‘adif_qso_append’ at adif3.c:527:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: 
‘__builtin_strncpy’ source argument is the same as destination 
[-Werror=restrict]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:370: adif3.o] Error 1
make[2]: Leaving directory '/home/oalonso/Downloads/xlog-2.0.22/src/logfile'
make[1]: *** [Makefile:600: all-recursive] Error 1
make[1]: Leaving directory '/home/oalonso/Downloads/xlog-2.0.22/src'
make: *** [Makefile:381: all-recursive] Error 1

Sent from [ProtonMail](https://protonmail.ch), encrypted email based in 
Switzerland.

Reply via email to