I'm currently trying to address these kind of warnings from gcc 8:
../../../src/libCom/error/errSymLib.c:165:17: warning: ‘strncpy’ output truncated copying between 1 and 5 bytes from a string of length 15 [-Wstringop-truncation] strncpy ( pBuf,"<err copy fail>", bufLength ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm currently trying to address these kind of warnings from gcc 8:
../../. ./src/libCom/ error/errSymLib .c:165: 17: warning: ‘strncpy’ output truncated copying between 1 and 5 bytes from a string of length 15 [-Wstringop- truncation]
strncpy ( pBuf,"<err copy fail>", bufLength );
^~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~