-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New compiler warning for v.c after upgrade to Fedora-28 #519
Comments
This compiler warning first shows up in the first of 2 commits 444c19b made on Feb 9, 2018. |
The reason that this warning first shows up in the commit 444c19b of Feb 9, 2018 is that beginning with that commit 'Makefile' specifies the display of all Warning messages:
|
The code currently causing the warning message exists at least as far back as the commit 41e48b6 made on Nov 24, 2011:
|
@bakul wrote:
|
@bakul also wrote:
Thanks !! |
cc -g -pthread -O0 -g3 -DDEBUG -Wall -c -o src/v.t.o src/v.c
src/v.c: In function ‘enumerate_charvec’:
src/v.c:335:3: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
strncpy(kC(p),"ls ", 3);
^~~~~~~~~~~~~~~~~~~~~~~
This warning occurs with the -DDEBUG option when compiling k_test.
The text was updated successfully, but these errors were encountered: