[ofiwg] gcc 9.x build test?
Byrne, John (Labs)
john.l.byrne at hpe.com
Fri Dec 6 17:20:35 PST 2019
Another gcc 9 string op warning appeared in the tree in util_shm.c:
In file included from /usr/include/string.h:633,
from prov/util/src/util_shm.c:38:
prov/util/src/util_shm.c: In function 'smr_create':
prov/util/src/util_shm.c:88:2: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation]
88 | strncpy(ep_name->name, (char *)attr->name, NAME_MAX);
| ^~~~~~~
How hard would it be to add a gcc-9 compile test to catch these?
John Byrne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofiwg/attachments/20191207/bd1514d7/attachment.html>
More information about the ofiwg
mailing list