https://bugs.documentfoundation.org/show_bug.cgi?id=117644
Bug ID: 117644
Summary: New -Wrestrict warning for GCC 9.0
Product: libexttextcat
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
A new more precise warning exposed following:
textcat.c: In function ‘textcat_ClassifyFull’:
textcat.c:363:13: error: ‘memcpy’ accessing 16 bytes at offsets [0, 8] and [0,
8] overlaps between 8 and 16 bytes at offset [0, 8] [-Werror=restrict]
memcpy(&candidates[cnt - 1], &candidates[i], sizeof(candidate_t));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs