Created
July 11, 2019 16:27
-
-
Save 2m/1cdd77f51b92c536cd58858b0fac8f4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /usr/include/string.h:494, | |
from /home/martynas/.cache/yay/openswan-git/src/openswan-git/programs/tncfg/tncfg.c:19: | |
In function ‘strncpy’, | |
inlined from ‘main’ at /home/martynas/.cache/yay/openswan-git/src/openswan-git/programs/tncfg/tncfg.c:233:4: | |
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation] | |
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In function ‘strncpy’, | |
inlined from ‘main’ at /home/martynas/.cache/yay/openswan-git/src/openswan-git/programs/tncfg/tncfg.c:236:4: | |
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 12 equals destination size [-Werror=stringop-truncation] | |
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cc1: all warnings being treated as errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment