Closed LunaSare closed 1 year ago
First fix of [-Warray-parameter=]
warning implemented on https://github.com/ropensci/phylocomr/commit/f5ca2d730c633363ba244276156caec08757c1b4
This returned warning [-Wstringop-overflow=]
, with fix implemented on https://github.com/ropensci/phylocomr/commit/e1010e47436a93ea3c20a612579c805cb7b5b9c5, e.g.:
libphylocom/main.c:229:7: warning: 'ReadPhylogeny' accessing 50 bytes in a region of size 6 [-Wstringop-overflow=]
We are getting a new warning [-Wstringop-truncation]
with devtools::::check_win_devel()
:
libphylocom/io.c:868:15: warning: 'strncat' output may be truncated copying 1 byte from a string of length 999 [-Wstringop-truncation]
libphylocom/io.c:818:19: warning: 'strncat' output may be truncated copying 1 byte from a string of length 999 [-Wstringop-truncation]
R cran checks on gcc